2.5.133 ShortDtr
The ShortDtr structure specifies a date and time that is accurate down to the second. The year, month, day, and weekday values MUST be consistent with the Gregorian calendar.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
yr |
mon |
dom |
|||||||||||||||||||||||||||||
hr |
mint |
sec |
wdy |
yr (2 bytes): An unsigned integer that specifies the year. This value MUST be greater than or equal to 1900, and MUST be less than or equal to 9999.
mon (1 byte): An unsigned integer that specifies the month. This value MUST be greater than or equal to 1 and less than or equal to 12.
dom (1 byte): An unsigned integer that specifies the day. This value MUST be greater than or equal to 1 and less than or equal to 31.
hr (1 byte): An unsigned integer that specifies the hour. This value MUST be greater than or equal to 0 and less than or equal to 23.
mint (1 byte): An unsigned integer that specifies the minute. This value MUST be greater than or equal to 0 and less than or equal to 59.
sec (1 byte): An unsigned integer that specifies the second. This value MUST be greater than or equal to 0 and less than or equal to 59.
wdy (1 byte): An unsigned integer that specifies the weekday. The value MUST be a value from the following table.
-
Value
Meaning
0x01
Monday
0x02
Tuesday
0x03
Wednesday
0x04
Thursday
0x05
Friday
0x06
Saturday
0x07
Sunday