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. FILETIME is used by the CoDosDateTimeToFileTime, CoFileTimeToDosDateTime, and CoFileTimeNow functions. It is defined as follows:

typedef struct STRUCT tagFILETIME {
    DWORD dwLowDateTime;
    DWORD dwHighDateTime;
} FILETIME;

dwLowDateTime
The low 32 bits of the Win32 date/time value.

dwHighDateTime
The upper 32 bits of the Win32 date/time value.

The FILETIME data structure is used in the time conversion functions between DOS and Win32.

For an explanation of the requirement values, see Requirements (COM).

Windows NT/2000/XP: Requires Windows NT 3.1 or later.

Windows 95/98: Requires Windows 95 or later.

Header: Declared in olectl.h.

Send comments about this topic to Microsoft.

Community Additions

Show: