I'm trying to format my date but I keep getting a type mismatch error. My dates are labeled as "MM/DD/YYYY".
What I did was type "gen date2 = date(date1, "MDY")"
How do I get it to recognize my date and solve this mismatch error?
Related Posts with Formatting date from MM/DD/YYYY.
Sum by ID in one data fileHello everyone, I have dataset like this, ID value1 value2 value3 .... 1 10 20 30 1 20 20 30 1 40 …
Calculating duration of follow-up timeHi everyone, I am analyzing mortality data from the National Health Interview Survey. The public us…
A little help with summary statisticsHey everyone, Firstly happy Christmas to those who celebrate it and happy holidays too! Back to th…
Change ID codes to a corresponding different ID codes in a panel datasetI have a dataset where the industries are identified with the NAIC codes. I want to change the NAIC …
Calculating person yearsHi everyone, I am analyzing mortality data from the National Health Interview Survey. The public us…
Subscribe to:
Post Comments (Atom)
0 Response to Formatting date from MM/DD/YYYY.
Post a Comment