Single File System: Virtual File System Delphi Library
for Archive / Backup with Transparent Compression and Strong Encryption
Returns the date-and-time stamp of a specified file within a single file system.
function FileAge(const FileName: string): Integer;
Description
Call FileAge to obtain the timestamp of the file specified by FileName within a single file system. The return value can be converted to a TDateTime object using the FileDateToDateTime function. The return value is -1 if the file does not exist.
Note:
This function uses last modification time.
|