B8601DJw.d Informat
Reads a Java date and time value that is in the
form yyyymmddhhmmss<ffffff>.
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 B8601DJ informat
reads a date and time value that is specified using the Java date
and time notation
yyyymmddhhmmss<ffffff>:
is a four-digit year
between 0000 and 9999.
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 six digits, where each digit is
between 0 and 9.
Comparisons
The B8601DJ informat
reads a date and time value that does not include a T to separate
the date from the time.
Java date and time values
do not include a T. For example, the date January 1, 2011 at 4:30:25
a.m. is written as 20110101043025.
ISO 8601 date and time
values include a T. For example, the date January 1, 2011 at 4:30:25
a.m. is written as 20110101T043025.
Example
|
|
|
|
|
|
July 31, 2011 2:33:35
p.m.
|
|
|
September 1, 2012 7:30:00.33
a.m.
|
|
|