FileTimeToLocalFileTime The FileTimeToLocalFileTime function converts a file time based on the Coordinated Universal Time (UTC) to a local file time.
VB4-32,5,6
Declare Function FileTimeToLocalFileTime Lib "kernel32" Alias "FileTimeToLocalFileTime" (lpFileTime As FILETIME, lpLocalFileTime As FILETIME) As Long |
Operating Systems Supported |
Requires Windows NT 3.1 or later; Requires Windows 95 or later |
- lpFileTime
Points to a FILETIME structure containing the UTC-based file time to be converted into a local file time.
- lpLocalFileTime
Points to a FILETIME structure to receive the converted local file time. This parameter cannot be the same as the lpFileTime parameter. |
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. |
|