Hello everyone,
I apologize if this a rather easy problem, but I am new to Stata and have tried everything I could but nothing worked so far...
I have a date in the format of YYYY-MM (e.g. 2004-12) and I want to format it in a way that it is displayed as 2004m12
I already tried using .the date function and then formating the new variable using %tm, but this didn't work...
I really appreciate your help and time!
Thanks a lot in advance!
I apologize if this a rather easy problem, but I am new to Stata and have tried everything I could but nothing worked so far...
I have a date in the format of YYYY-MM (e.g. 2004-12) and I want to format it in a way that it is displayed as 2004m12
I already tried using .the date function and then formating the new variable using %tm, but this didn't work...
I really appreciate your help and time!
Thanks a lot in advance!
Comment