FileTimeToLocalFileTime
Converts a file time to a local file time.
Syntax
BOOL FileTimeToLocalFileTime( const FILETIME* lpFileTime, LPFILETIME lpLocalFileTime );
Parameters
lpFileTime
A pointer to a FILETIME structure containing the UTC-based file time to be converted into a local file time.
lpLocalFileTime
A pointer to a FILETIME structure to receive the converted local file time. This parameter cannot be the same as the lpFileTime parameter.
Return Value
A non-zero value if the function succeeds, 0 (zero) if the function fails
To get extended error information, call GetLastError.
Remarks
FileTimeToLocalFileTime uses the current settings for the time zone and daylight saving time. Therefore, if it is daylight saving time, this function will take daylight saving time into account, even if the time you are converting is in standard time.
Requirements
Minimum Supported Version | RTX64 2013 |
Header | windows.h |
Library | Rtx_Rtss.lib |