SetFileTimes function
Date/Time routines |
![]() ![]() ![]() |
acUtils
|
function SetFileTimes(const FileName: String;
|
Created, Modified, Accessed: TDateTime): Boolean;
|
The SetFileTimes procedure used to set the time labels for the file specified in FileName parameter. You can specify the time at which the file was last modified, accessed and when the file has been created. Function returns True if succeed or False otherwise.
|
|
![]() |
SetFileTimes('c:\autoexec.bat', Now, -1, -1);
|
DateTimeToFileTime and FileTimeToDateTime routines.
|