Writes datetime values in the form ddmmmyy:hh:mm:ss.ss with AM or PM.
Category: | Date and Time |
Alignment: | Right |
Interaction: | When the DECIMALCONV= system option is set to STDIEEE, the output that is written using this format might differ slightly from previous releases. For more information, see DECIMALCONV= System Option in SAS System Options: Reference. |
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. This argument is optional.
Range | 0–39 |
Requirement | must be less than w |
Note | If w–d< 17, SAS truncates the decimal values. |