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


TSingleFileSystem.FileGetDate
TSingleFileSystem
Top 


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

function FileGetDate(Handle: Integer): Integer;

Description
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.

Note:
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.

Note:
This function uses last modification time.


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