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


Returns a DOS date-time stamp for a specified file within a single file system.

function FileGetDate(Handle: Integer): Integer;

Use FileGetDate to determine the timestamp of a file given its handle. The return value is -1 if the handle is invalid. The FileDateToDateTime function can be used to convert the returned value to a TDateTime value.

FileGetDate uses a file handle rather than a stream variable. To obtain the timestamp of a file that has not been opened using the FileOpen or FileCreate method, use the FileAge function instead.

This function uses last modification time.

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