Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The following tables show the time functions with a description of the purpose of each.
Functions | Description |
---|---|
Compares two 64-bit file times. |
|
Converts a file time based on the Universal Time Coordinate (UTC) to a local file time. |
|
Converts a 64-bit file time to system time format. |
|
Returns a system time converted to a FILETIMEbased on the Coordinated Universal Time. |
|
Retrieves the date and time that a file was created, last accessed, and last modified. |
|
Returns the amount of time, in milliseconds, that the system has been idle. |
|
Retrieves the current local date and time. |
|
Retrieves the current system date and time. |
|
For Release configurations, this function returns the number of milliseconds since boot, excluding any time that the system was suspended. For Debug configurations, this function returns the number of milliseconds since boot minus 180 seconds. |
|
Retrieves current time-zone information. |
|
Converts a local file time to a file time based on the UTC. |
|
Retrieves the current value of the high-resolution performance counter, if one is provided by the OEM. |
|
Retrieves the frequency of the high-resolution performance counter, if one is provided by the OEM. |
|
Generates a random number. |
|
Wets the current state of daylight saving time. |
|
Wets the date and time that a file was created, last accessed, or last modified. |
|
Sets the current local time and date. |
|
Sets the current system time and date. |
|
Sets current time-zone information. |
|
Converts a system time to a file time. |