FileTimeToSystemTime()

Purpose
FileTimeToSystemTime converts a time and date stored in a FILETIME structure to an identical time and date stored in a SYSTEMTIME structure.
 
Library Transcribed by Date of page Updated on
Kernel32.dll J.Paris 13.03.03  
 
Restrictions on use
none
 
Declare 32-bit

Declare Function FileTimeToSystemTime Lib "kernel32.dll" (

    lpFileTime As FILETIME,

    lpSystemTime As SYSTEMTIME

    ) As Integer

 
Required Type definition

FILETIME

SYSTEMTIME

 
Parameters
lpFileTime The date and time, in FILETIME form, to convert.
lpSystemTime Receives the date and time converted into SYSTEMTIME format.
 
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