Indy 9 | Content | Index | Reference

GetFileCreationTime
Unit: IdGlobal
Gets the creation or update data and time for a specified file.

    function GetFileCreationTime(const Filename: string): TDateTime;

Unit
IdGlobal
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.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.