2.5.30 DateAsXnum
The DateAsXnum structure specifies a date and time.
The following packet diagram specifies this structure.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dateNum |
|||||||||||||||||||||||||||||||
... |
dateNum (8 bytes): An Xnum (section 2.5.172) structure that specifies a date and time. The value of this field MUST be greater than or equal to 0.
If the f1904 field in the BrtWbProp (section 2.4.853) record is equal to 1, the value of Xnum MUST be less than 2958466, and the integer part of the Xnum specifies the date as a sequential number of days following January 1, 1904.
If the f1904 field in the BrtWbProp record is equal to 0 and the value of Xnum is less than 60, the integer part of Xnum specifies the date as a sequential number of days following December 31, 1899.
If the f1904 field in the BrtWbProp record is equal to 0 and the integer part of Xnum is greater than 60, the value of Xnum MUST be less than 2957004, and the integer part of Xnum specifies the date as a sequential number of days following December 30, 1899.
If the f1904 field in the BrtWbProp record is equal to 0 and the integer part of Xnum is equal to 60, no date is specified.<62>
The fractional part of Xnum specifies the time of the day as a fraction of the 24-hour day.