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,175

Re: date format

z2.
Super Contributor
Super Contributor
Posts: 3,174

Re: date format

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
  • 321 views
  • 0 likes
  • 3 in conversation