FileTimeToLocalFileTime()

Purpose
FileTimeToLocalFileTime converts a time from UTC time (also known as Greenwich Mean Time) to "local time" (inside the computer's selected time zone). The source and target times are stored in FILETIME structures
 
Library Transcribed by Date of page Updated on
Kernel32.dll J.Paris 13.03.03  
 
Restrictions on use
none
 
Declare 32-bit

Declare Function FileTimeToLocalFileTime Lib "kernel32.dll" (

    lpFileTime As FILETIME,

    lpLocalFileTime As FILETIME

    ) As Integer

 
Required Type definition

FILETIME

 
Parameters
lpFileTime The date and time, in FILETIME form, to convert.
lpLocalFileTime Receives the time and date stored in lpFileTime converted into the computer's current time zone time.
 
Return value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
 
Example
File_Date_Time
 
Comments
 
See also