DT
is the abbreviation
of Date and Time.
The DT
type, encoded in
BCD in a 64 bit format, contains the following information:
the year encoded in a 16 bit field;
the month encoded in an 8 bit field;
the day encoded in an 8 bit field;
the time encoded in an 8 bit field;
the minutes encoded in an 8 bit field;
the seconds encoded in an 8 bit field.
The DT
type must be entered as follows:
DT#
<Year>
-<Month>
-<Day>
-<Hour>
:<Minutes>
:<Seconds>
This table shows the upper/lower limits of each field:
Field |
Limits |
Comment |
---|---|---|
Year |
[1990,2099] |
Year |
Month |
[01,12] |
The leading 0 is displayed; it can be omitted during data entry. |
Day |
[01,31] |
For months 01/03/05/07/08/10/12 |
[01,30] |
For months 04/06/09/11 |
|
[01,29] |
For month 02 (leap years) |
|
[01,28] |
For month 02 (non-leap years) |
|
Hour |
[00,23] |
The leading 0 is displayed; it can be omitted during data entry. |
Minute |
[00,59] |
The leading 0 is displayed; it can be omitted during data entry. |
Second |
[00,59] |
The leading 0 is displayed; it can be omitted during data entry. |