Single File System: Virtual File System Delphi Library
for Archive / Backup with Transparent Compression and Strong Encryption


TSingleFileSystem.FileAge
TSingleFileSystem
Top 


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.


© 2000-2004 AidAim Software LLC Single File System: Single-file Syste