Chapter Contents |
Previous |
Next |
TIMEw.d |
Category: | Date and Time |
Alignment: | right |
Syntax | |
Syntax Description | |
Details | |
Comparisons | |
Examples | |
See Also |
Syntax |
TIMEw.d |
Default: | 8 |
Range: | 2-20 |
Requirement: | must be less than w |
Range: | 1-19 |
Details |
The TIMEw.d format writes SAS time values in the form hh:mm:ss.ss, where
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: 8 spaces to the left of the decimal point, 1 space for the decimal point itself, and 3 spaces for the decimal fraction of seconds.
Comparisons |
The TIMEw.d format is similar to the HHMMw.d format except that TIMEw.d prints seconds.
Examples |
The example table uses the input value of 59083, which is the SAS time value that corresponds to 4:24:43 PM.
SAS Statements | Results |
---|---|
----+----1 |
|
put begin time.; |
16:24:43 |
See Also |
Formats:
| |||||||||
Functions:
| |||||||||
Informat:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.