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


TSingleFileSystem.FileSetDate
TSingleFileSystem
Top 


Sets the DOS time stamp for a specified file within a single file system.

function FileSetDate(Handle: Integer; Age: Integer): Integer;

Description
FileSetDate sets the DOS date-time stamp of the file given by Handle to the value given by Age. The DateTimeToFileDate function can be used to convert a TDateTime value to a DOS date-time stamp.

The return value is zero if the function was successful. Otherwise the return value is an error code.

Note:
This function uses last modification time.


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