Expects a SAS datetime value as input and writes the SAS date values in the form ddmmmyy or ddmmmyyyy.
| 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(1510285759,dtdate.); |
10NOV13 |
|
select put(1510285759,dtdate9.); |
10NOV2013 |
|