GetFileCreationTime
Gets the creation or update data and time for a specified file.
function GetFileCreationTime(const Filename: string): TDateTime;
Unit
Parameters
const Filename: string
File name, and optional path, to be examined.
Return Value
TDateTime - Date and time that the file was last updated or created.
Description
GetFileCreationTime is a TDateTime function that returns the date and time that the file identifies in Filename was last updated or created. GetFileCreationTime is availble on the Windows platform only, and uses Win32 API functions to locate the file in Filename, and Win32 API structures to access the file information for the file.