I have a dataset created by merging different excel files that all have different date formats (sometimes mixed within files, too). My date variable has the following four formats:
"1/24/2015"
"21-Oct"
"41988"
"no date"
41988 is an example of excel's date format. How can I convert these all to the same date format, either when I'm merging the files or cleaning the .dta? I'm using Stata 13.
"1/24/2015"
"21-Oct"
"41988"
"no date"
41988 is an example of excel's date format. How can I convert these all to the same date format, either when I'm merging the files or cleaning the .dta? I'm using Stata 13.
Comment