gen_dob randomly return a record of date of birth.
Usage
gen_dob(start = "1900-01-01", end = "2020-01-01")
Arguments
start
A Date variable with a default of '1900-01-01'.
end
A Date variable with a default of '2020-01-01'.
Value
The output is a record of date of birth in Date format between
1900-01-01 and 2020-01-01. If start is given, the return date
will be between the updated start date and 2020-01-01. If end
is also given, the return date will be between the updated start date
and updated end date.