hello
i have variable for time like this :
Day (variable name)
2011/12/01
2011/12/02
2011/12/03
.
.
2019/01/29
i want to convert this string variable to time for xtset
so, i did typing
gen Day2 = date(Day,"ymd")
but, i can't get any values
only get " . " in all cell
what is problem?
i have variable for time like this :
Day (variable name)
2011/12/01
2011/12/02
2011/12/03
.
.
2019/01/29
i want to convert this string variable to time for xtset
so, i did typing
gen Day2 = date(Day,"ymd")
but, i can't get any values
only get " . " in all cell
what is problem?
Comment