I created the month variable into Stata format from 201509 to 2015m9 using the command:
Code:
gen month = ym(floor(month/100), mod(month,100)) format month %tm
What would be the command for this? I read the 'date and time' Stata documentation and couldn't find the opposite.
Thank you so much!
0 Response to year and month format
Post a Comment