Single File System: Virtual File System Delphi Library
for Archive / Backup with Transparent Compression and Strong Encryption
Sets the DOS time stamp for a specified file within a single file system.
function FileSetDate(Handle: Integer; Age: Integer): Integer;
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.
This function uses last modification time.