The FileTimeToLocalFileTime function converts a file time based on the Coordinated Universal Time (UTC) to a local file time.
BOOL FileTimeToLocalFileTime(
CONST FILETIME *lpFileTime, |
// pointer to UTC file time to convert |
LPFILETIME lpLocalFileTime |
// pointer to converted file time |
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.