B8601CIw.d Informat
Reads an IBM date and time value that includes a
century marker, in the form cyymmddhhmmss<fff>.
Categories: |
Date and Time
ISO 8601
|
Alignment: |
left |
Syntax
Syntax Description
- w
-
specifies the width
of the input field.
- d
-
specifies the number
of digits to the right of the decimal point in the seconds value.
Details
The B8601CI informat
reads time values that are specified in the IBM time notation
cyymmddhhmmss<fff>:
is a single digit that
represents a century:
0 |
indicates the years 1900–1999. |
1 |
indicates the years 2000–2099. |
2 |
indicates the years 2100–2199. |
n |
indicates the years 00–99 in a century that
is determined by performing a calculation on a year greater than 2199.
To determine the century marker, subtract 1900 from the year and divide
the result by 100. Discard the remainder. The remaining integer is
the century marker. For example, to determine the century marker for
the year 2382, perform this calculation: (2382–1900)/100=4.82.
Discard .82. The century marker is 4.
|
is a two-digit year
between 00 and 99.
is a two-digit month
(zero padded) between 01 and 12.
is a two-digit day
of the month (zero padded) between 01 and 31.
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 three digits, where each digit
is between 0 and 9.
Example
|
|
|
|
|
|
|
|
|
October 1, 2011 12:15:30.25
|
|
|