Writes SAS datetime values in the form ddmmmyy:hh:mm:ss.ss with AM or PM.
Category: | Date and Time |
Alignment: | Right |
specifies the width of the output field.
Default | 19 |
Range | 7–40 |
Tip | SAS requires a minimum w value of 13 to write AM or PM. For widths between 10 and 12, SAS writes a 24-hour clock time. |
specifies the number of digits to the right of the decimal point in the seconds value.
Range | 0–39 |
Requirement | must be less than w |
Note | If w – d< 17, SAS truncates the decimal values. |