Dear Experts,
I would like to generate a date variable called "tmp" from a date variable called "dobe".
I wrote:
gen tmp=date(dobe, "DMY", 2015
and came back with error message "type mismatch" r(109)".
The type of "dobe" variable is float.
What should I do?
Many thanks in advance.
Vini
I would like to generate a date variable called "tmp" from a date variable called "dobe".
I wrote:
gen tmp=date(dobe, "DMY", 2015
and came back with error message "type mismatch" r(109)".
The type of "dobe" variable is float.
What should I do?
Many thanks in advance.
Vini
