Group: Time - Library: kernel32
HOWTO: Use the Win32 API to Access File Dates and Times
BOOL FileTimeToLocalFileTime(
CONST FILETIME *lpFileTime, // UTC file time to convert
LPFILETIME lpLocalFileTime // converted file time
);
DECLARE INTEGER FileTimeToLocalFileTime IN kernel32;
STRING lpFileTime,;
STRING @ lpLocalFileTime
lpFileTime [in] Pointer to a FILETIME structure containing the UTC-based file time to be converted into a local file time.
lpLocalFileTime [out] Pointer to a FILETIME structure to receive the converted local file time.
If the function succeeds, the return value is nonzero.
typedef struct _FILETIME {
DWORD dwLowDateTime;
DWORD dwHighDateTime;
} FILETIME, *PFILETIME; // 8 bytes