Hey all,
I have a 2millioin observation sas dataset to be imported into STATA. I do not have sas, so I can't open it. One of the DATE variable is YearMMDD. I read the data manual online.
I opened stata, and use the import wizard, I got the STATA data, but the DATE variable is stored as integer in %10.0g format
for example: the first observtion has a value of 6209 for DATE
how do I restore it to a YearMMDD, my goal is to get the year . the value of DATE in my sample ranges from 6025 to 22066
Thank you
I have a 2millioin observation sas dataset to be imported into STATA. I do not have sas, so I can't open it. One of the DATE variable is YearMMDD. I read the data manual online.
I opened stata, and use the import wizard, I got the STATA data, but the DATE variable is stored as integer in %10.0g format
for example: the first observtion has a value of 6209 for DATE
how do I restore it to a YearMMDD, my goal is to get the year . the value of DATE in my sample ranges from 6025 to 22066
Thank you
Comment