Writes SAS date values in the form ddmmmyy, ddmmmyyyy, or dd-mmm-yyyy.
Category: | Date and Time |
Alignment: | Right |
specifies the width of the output field.
Default | 7 |
Range | 5–9 |
Tip | Use a width of 9 to print a 4-digit year. |
Statements
|
Results
|
---|---|
----+----1----+ |
|
select put (19431,date5.); |
14MAR |
select put (19431,date6.); |
14MAR |
select put (19431,date7.); |
14MAR13 |
select put (19431,date8.); |
14MAR13 |
select put (19431,date9.); |
14MAR2013 |