Writes SAS time values and the time portion of SAS datetime values in the form hh:mm:ss.ss.
| Category: | Date and Time |
| Alignment: | Right |
specifies the width of the output field.
| Default | 8 |
| Range | 2–20 |
| Tip | SAS writes a zero for a zero hour if the specified width is sufficient, for example, 02:30 or 00:30. |
specifies the number of digits to the right of the decimal point in the seconds value.
| Default | 0 |
| Range | 0–19 |
| Requirement | must be less than w |
|
Statements
|
Results
|
|---|---|
select put(1472049623,tod9.); |
14:40:23 |