Writes SAS date values in the form yymmm or yyyymmm.
Category: | Date and Time |
Alignment: | Right |
specifies the width of the output field. If the format width is too small to print a four-digit year, only the last two digits of the year are printed.
Default | 7 |
Range | 5–32 |
Statements
|
Results
|
---|---|
|
----+----1 |
select put(19537,yymon6.); |
13JUN |
select put(19537,yymon7.); |
2013JUN |