Writes the date part of a SAS datetime value as the month and year in the form mmmyy or mmmyyyy.
Category: | Date and Time |
Alignment: | Right |
Statements
|
Results
|
---|---|
|
----+----1 |
select put(1678898894,dtmonyy.); |
MAR13 |
select put(1678898894,dtmonyy5.); |
MAR13 |
select put(1678898894,dtmonyy6.); |
MAR13 |
select put(1678898894,dtmonyy7.); |
MAR2013 |