Hi everyone,
I'm having a problem converting a string monthly date into Stata monthly date. The string date starts in 1999 and goes until 2013 and is shown as:
Jan-99
Feb-11
and so on.
I've tried using date(var,"MY") to no avail. The problem seem not to have the day in the originalvariable or that months are in text and not integers. I really don't need (because i don't have) the day, but need to have the data in a monthly format that Stata can interpret as such. Any ideas?
best wishes,
Nuno
I'm having a problem converting a string monthly date into Stata monthly date. The string date starts in 1999 and goes until 2013 and is shown as:
Jan-99
Feb-11
and so on.
I've tried using date(var,"MY") to no avail. The problem seem not to have the day in the originalvariable or that months are in text and not integers. I really don't need (because i don't have) the day, but need to have the data in a monthly format that Stata can interpret as such. Any ideas?
best wishes,
Nuno
Comment