2.5.1.1 TimeEncoding Structure

The TimeEncoding structure specifies a date and time in Coordinated Universal Time (UTC), with the most significant 32 bits and the least significant 32 bits of the structure swapped. To be processed as a valid UTC time, HighDateTime and LowDateTime MUST be assigned to a FILETIME structure as specified in [MS-DTYP]. Because of the reverse ordering, the HighDateTime field MUST be assigned to the dwHighDateTime field of the FILETIME structure, and the LowDateTime field MUST be assigned to the dwLowDateTime field of the FILETIME structure. After the HighDateTime and LowDateTime fields are correctly assigned to a FILETIME structure, the UTC time can be obtained.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

HighDateTime

LowDateTime

HighDateTime (4 bytes): An unsigned integer specifying the high order 32 bits of a UTCTime.

LowDateTime (4 bytes): An unsigned integer specifying the low order 32 bits of a UTCTime.