本文整理自网络,侵删。
一句话获取文件的最新修改时间
var
DateTime: TDateTime;
begin
FileAge('C:\Windows\Notepad.exe', DateTime);
ShowMessage(DateTimeToStr(DateTime));
end;
相关阅读 >>
Delphi7 中tstringlist的delimiter delimitedtext有bug,字符串分割有问题
Delphi xe 泛型数组和splitstring处理数据
Delphi twebbrowser出现 method pastehtml not supported by automation object 解决方法
更多相关阅读请进入《Delphi》频道 >>