[Overview][Types][Classes][Procedures and functions][Index] |
Set a files date and time
Source position: tiUtils.pas line 186
procedure tiSetFileDate( |
const AFileName: string; |
const ADateTime: TDateTime |
); |
Set a files date and time.
Linux Note: Passing in a TDateTime where value is equal to 0 (zero), will succeed under Linux, but with rollover effect. TDateTime = 0 is in fact 1899-12-30 00:00:00. This will result in a file date time of 2036-02-05 06:28:16 which is 2^32 seconds from 1899-12-30 00:00:00. The Delphi TDateTime can no longer be converted to DWORD seconds.