| Informats |
| Category: | Date and Time |
| ISO 8601 | |
| Alignment: | left |
| Alias: | IS8601TM |
| Time Zone Informat: | No |
| ISO 8601 Element: | 5.3.1.1 Complete representation and 5.3.1.3 Representation of decimal fractions |
| Syntax | |
| Syntax Description | |
| Details | |
| Examples | |
| See Also |
Syntax |
| E8601TMw.d |
specifies the width of the input field.
| Default: | 8 |
| Range: | 8-15 |
specifies the number of digits to the right of the decimal point in the seconds value. This argument is optional.
| Default: | 0 |
| Range: | 0-6 |
| Details |
The E8601TM informat reads time values that are specified in the following ISO 8601 extended time notation:
|
hh:mm:ss.ffffff |
is a two-digit hour (zero padded), between 00 and 23
is a two-digit minute (zero padded), between 00 and 59
is a two-digit second (zero padded), between 00 and 59
are optional fractional seconds, with a precision of up to six digits, where each digit is between 0 and 9
| Examples |
| Data Line | Results |
|---|---|
----+----1 |
|
15:53:00 |
57180 |
| See Also |
|
Reading Dates and Times Using the ISO 860 Basic and Extended Notations |
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.