Writes SAS time values as hours, minutes, and seconds in the form hh:mm:ss.ss using the military 24-hour clock.
Category: | Date and Time |
Alignment: | Right |
specifies the width of the output field.
Default | 8 |
Range | 2–20 |
Tip | Make w large enough to produce the desired results. To obtain a complete time value with three decimal places, you must allow at least 12 spaces: eight spaces to the left of the decimal point, one space for the decimal point itself, and three spaces for the decimal fraction of seconds. |
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
|
---|---|
|
----+----1 |
select put(59083,time.); |
16:24:43 |