Looked up in SAS for dates. I Want it in a YYMMDD fields and the closes i found was the format below. However it generates the dat with dashes
where I would want it like 120317
YYMMDD.
|
19069
|
12-03-17
|
Try format YYMMDDN6.
Do a smart thing and use four digit years, which would be YYMMDDN8.
Try format YYMMDDN6.
Do a smart thing and use four digit years, which would be YYMMDDN8.
You need to very carefully label things in examples. You may not be aware but in one form 19069 could be 10 March 2019 (Julian date notation; or could be 1919, 1819,2119 for the year, 2 digit years are such a pain to keep straight).
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.