Dear All,
I am a new user in Stata.
I am having a basic question and would kindly ask for your help. I want to change the data format from string to the date format (MMYYYY). I have tried this formula date(Date2, "MY") and then created the monthly format (Date3). However, the format is not what I expected.
Many thanks for your support,
Chi
Related Posts with Formatting and managing dates, from String to MMYYYY format
Row totals for after a specific event occursHello! I'm certain there is a simple answer to this, so please feel free to direct me to the resour…
Pasting Stata codes into Microsoft WordHi everyone, I am trying to report my Stata code in the appendix of a manuscript which is written in…
convert a matrix to a column vector, and then output it to Excel fileHello, I need your help on matrix and Excel in Stata. I have a matrix m and would like to stack its …
Graph parallel trend for DID with multiple periods and csdidHi everyone, I am trying to do DID with multiple periods. My dataset is a panel data (from 1960 to…
Problem with localsMinor but annoying problem with locals. I have a long variable list that I would like to add to a fi…
Subscribe to:
Post Comments (Atom)
0 Response to Formatting and managing dates, from String to MMYYYY format
Post a Comment