🔒 This topic is solved and locked.
Need further help from the community? Please
sign in and ask a new question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 09-02-2013 06:46 PM
(205604 views)
Hello,
How can I convert Sas Date to format YYYYMM?
Example : I have 19375 sas date value and I'd like to get 201301
how can I do that ?
Thank you.date
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
For some reason, SAS 9.3 doc have not done a satisfying job on this particular format. I would refer to SAS 9.2:
SAS(R) 9.2 Language Reference: Dictionary, Fourth Edition
Or SAS 9.4: