I have a date variable (type: double, Format: %tcdd-Mon-CCYY_HH:MM:SS) that displays as "13-Jul-2023 12:31:02." I would like to reformat to just date time (%td) or even century month code. After reading stata files, I tried reformatting it with the following
format surveystartdate %td
It re-formats the variable, but it's only displayed as scientific notation (2.00e+12). What am I missing here?
Thanks!
format surveystartdate %td
It re-formats the variable, but it's only displayed as scientific notation (2.00e+12). What am I missing here?
Thanks!
Comment