Help using Base SAS procedures

date format

Reply
N/A
Posts: 0

date format

If I use month(date) = I get a single digit value like 1.

What format should i use to get 01?
Valued Guide
Posts: 2,177

Re: date format

Posted in reply to deleted_user
z2.
Super Contributor
Super Contributor
Posts: 3,174

Re: date format

Posted in reply to deleted_user
You can use SAS FORMAT Z2.

Scott Barry
SBBWorks, Inc.

Recommended Google advanced search argument this topic/post:

numeric formats leading zero site:sas.com
N/A
Posts: 0

Re: date format

Thank you!
Ask a Question
Discussion stats
  • 3 replies
  • 355 views
  • 0 likes
  • 3 in conversation