DateTimeToFileTime function
Date/Time routines
Return to Introduction  Previous page  Next page
Unit
acUtils  

Declaration
function DateTimeToFileTime(Time: TDateTime): TFileTime;  

Description
The DateTimeToFileTime function converts the Delphi-friendly TDateTime variable to the TFileTime record, which used in Windows file system to determinate the file creation and modification times.  
 
iiinfo The TFileTime (FILETIME) structure is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601.  
 
typedef struct _FILETIME { // ft  
    DWORD dwLowDateTime;  
    DWORD dwHighDateTime;  
} FILETIME;  

See also
FileTimeToDateTime and SetFileTimes routines.