function FileLastModifiedDT(FileName: string): TDateTime;

 

This function reads the last modification date of a file on disk. The file must exist.

 

Parameters

FileName

The string that contains the file name

 

Return value

String

The function returns a TDateTime value (equivalent to double) which contains the last modification date of the specified file