I have a variable test:
I want to convert it only to a date format (no time). I tried -format test %td- as the datetime helpfile seems to suggest, but then it gets converted to SIF despite having a %td format:
What am I doing wrong? Thanks
Code:
storage display value variable name type format label variable label ------------------------------------------------------------------------------------------------------------------- test double %tc . tab test Date/time | submitted | Freq. Percent Cum. ------------+----------------------------------- 30jul20.. | 1 .6 30jul20.. | 1 0.44
Code:
. format test %td . desc test storage display value variable name type format label variable label ------------------------------------------------------------------------------------------------------------------- test double %td . tab test Date/time | submitted | Freq. Percent Cum. ------------+----------------------------------- 1.85e+12 | 1 0.6 1.85e+12 | 1 0.44
Comment