Compartilhar via


Time Functions (Windows CE 5.0)

Send Feedback

The following table shows the time functions with a description of the purpose of each.

Programming element Description
CompareFileTime This function compares two 64-bit file times.
FileTimeToLocalFileTime This function converts a file time based on the Universal Time Coordinate (UTC) to a local file time.
FileTimeToSystemTime This function converts a 64-bit file time to system time format.
GetCurrentFT This function returns a system time converted to a FILETIME based on the Coordinated Universal Time.
GetFileTime This function retrieves the date and time that a file was created, last accessed, and last modified.
GetIdleTime This function returns the amount of time, in milliseconds, that the system has been idle.
GetLocalTime This function retrieves the current local date and time.
GetSystemTime This function retrieves the current system date and time.
GetTickCount 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.

GetTimeZoneInformation This function retrieves the current time-zone parameters.
LocalFileTimeToFileTime This function converts a local file time to a file time based on the UTC.
QueryPerformanceCounter This function retrieves the current value of the high-resolution performance counter if one is provided by the OEM.
QueryPerformanceFrequency This function retrieves the frequency of the high-resolution performance counter if one is provided by the OEM.
Random This function generates a random number.
SetDaylightTime This function sets the current state of daylight saving time.
SetFileTime This function sets the date and time that a file was created, last accessed, or last modified.
SetLocalTime This function sets the current local time and date.
SetSystemTime This function sets the current system time and date.
SetTimeZoneInformation This function sets the current time-zone parameters.
SystemTimeToFileTime This function converts a system time to a file time.

See Also

Time Reference | Timer Driver Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.