FILETIME
The FILETIME data structure is a 64-bit value representing the number of 100-nanosecond
intervals since January 1, 1601. It is the means by which Win32 determines the date and time.
typedef struct _FILETIME { DWORD dwLowDateTime; DWORD dwHighDateTime; } FILETIME;
Members
dwLowDateTime
Specifies the low-order 32 bits of the Win32 date/time value.
dwHighDateTime
Specifies the high-order 32 bits of the Win32 date/time value.
Remarks
It is not recommended that you add or substract values from this structure to obtain relative times. Instead, you should do the following:
- Copy this structure to a ULARGE_INTEGER
structure. - Use standard 64-bit arithmetic on the ULARGE_INTEGER
value or cast a variable of FILETIME type to the __int64 type: FILETIME WriteTime1, WriteTime2; if(*(__int64*) & WriteTime1 == *(__int64*) & WriteTime2) ...
See also: