Help using Base SAS procedures

Sas date to format YYYYMM

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 10
Accepted Solution

Sas date to format YYYYMM

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


Accepted Solutions
Solution
‎09-02-2013 07:46 PM
Respected Advisor
Posts: 4,173

All Replies
Solution
‎09-02-2013 07:46 PM
Respected Advisor
Posts: 4,173
Respected Advisor
Posts: 3,156

Re: Sas date to format YYYYMM

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:

SAS(R) 9.4 Formats and Informats: Reference

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 56793 views
  • 5 likes
  • 3 in conversation