About Time
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.
LocalSYSTEMTIME or FILETIMEA system time or file time converted to the system's local time zone.
FileFILETIMEThe number of 100-nanosecond intervals since January 1, 1601.
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: 11/19/2009

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View