Hi dear Stata users!
I am trying to reformate my date variable from yyyy-mm-dd to yyyy-mm but nothing is working although it feels like it should be quite simple. What code can I use for this?
And if someone has a better idea for the analysis I am all ears. We have various different data sets that will be merged but their dates are not the same so we thought we should only write month and year but if something else could work better we would love to hear it.
Best regards,
Hanna
I am trying to reformate my date variable from yyyy-mm-dd to yyyy-mm but nothing is working although it feels like it should be quite simple. What code can I use for this?
And if someone has a better idea for the analysis I am all ears. We have various different data sets that will be merged but their dates are not the same so we thought we should only write month and year but if something else could work better we would love to hear it.
Best regards,
Hanna
Comment