ex36.pp 272 B

12345678910111213141516
  1. Program Example36;
  2. { This program demonstrates the FileAge function }
  3. Uses sysutils;
  4. Var S : TDateTime;
  5. fa : Longint;
  6. Begin
  7. fa:=FileAge('ex36.pp');
  8. If Fa<>-1 then
  9. begin
  10. S:=FileDateTodateTime(fa);
  11. Writeln ('I''m from ',DateTimeToStr(S))
  12. end;
  13. End.