|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.|
This function converts a file time based on the UTC to a local file time.
BOOL FileTimeToLocalFileTime( const FILETIME* lpFileTime, LPFILETIME lpLocalFileTime );
[in] Pointer to a FILETIMEstructure containing the UTC-based file time to be converted into a local file time.
[out] Pointer to a FILETIMEstructure to receive the converted local file time.
This parameter cannot be the same as the lpFileTimeparameter.
Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.
This function uses the current settings for the time zone and daylight saving time. Therefore, if it is daylight saving time, this function takes daylight saving time into account, even if you are converting standard time.
|Windows Embedded CE||Windows CE 1.0 and later|
|Windows Mobile||Windows Mobile Version 5.0 and later|