mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-18 17:59:37 +02:00
18 lines
276 B
ObjectPascal
18 lines
276 B
ObjectPascal
uses
|
|
sysutils;
|
|
|
|
var
|
|
S : string;
|
|
SR : TSearchRec;
|
|
r : longint;
|
|
begin
|
|
r:=FindFirst('*.*',faAnyFile,SR);
|
|
while r=0 do
|
|
begin
|
|
S:=DateTimeToStr(FileDateToDateTime(FileAge(SR.Name)));
|
|
Writeln(SR.Name,' has Date ',S);
|
|
r:=FindNext(SR);
|
|
end;
|
|
FindClose(SR);
|
|
end.
|