/ Published in: Delphi
Expand |
Embed | Plain Text
function GetFileLastModDate(filename: string): TDateTime; var fileDate: integer; begin Result := 0; fileDate := FileAge(filename); // Did we get the file age OK? if fileDate > -1 then Result := FileDateToDateTime(fileDate); end;
You need to login to post a comment.
