Writes time values using the ISO 8601 extended notation
hh:mm:ss.ffffff.
Category: |
Date and Time
|
|
ISO
8601
|
Alignment: |
left
|
Alias: |
IS8601TM
|
Time Zone Format: |
No
|
ISO 8601 Element: |
5.3.1.1 Complete representation and
5.3.1.3 Representation of decimal fractions
|
- w
-
specifies the width of the output field.
- d
-
specifies the number of digits to the right of the decimal
point in the seconds value. This argument is optional.
The E8601TM format writes SAS time values using the following
ISO 8601 extended time notation:
hh |
is a two-digit hour (zero padded), between 00 - 23. |
mm |
is a two-digit minute (zero padded), between 00 -
59. |
ss |
is a two-digit second (zero padded), between 00 -
59. |
.ffffff |
are optional fractional seconds, with a precision
of up to six digits, where each digit is between 0 - 9. |
put etm e8601tm.;
Value of etm |
Results |
57180
|
15:53:00
|
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.