About Time

Time-related functions return time in one of several formats. You can use the time functions to convert between some time formats for ease of comparison and display. The following table summarizes the time formats.

FormatTypeDescription
SystemSYSTEMTIMEYear, month, day, hour, second, and millisecond, taken from the internal hardware clock.
FileFILETIMEThe number of 100-nanosecond intervals since January 1, 1601.
LocalSYSTEMTIME or FILETIMEA system time or file time converted to the system's local time zone.
MS-DOSWORDA packed word for the date, another for the time.
WindowsDWORD or ULONGLONGThe number of milliseconds since the system was last started. When retrieved as a DWORD value, Windows time cycles every 49.7 days.
Interrupt CountULONGLONGThe number of 100-nanosecond intervals since the system was last started.

 

For more information, see the following topics:

Send comments about this topic to Microsoft

Build date: 10/8/2009

Tags :


Page view tracker