ex94.pp 297 B

12345678910111213141516
  1. Program Example94;
  2. { This program demonstrates the RecodeDate function }
  3. Uses SysUtils,DateUtils;
  4. Const
  5. Fmt = 'dddd dd mmmm yyyy hh:nn:ss';
  6. Var
  7. S : AnsiString;
  8. Begin
  9. S:=FormatDateTime(Fmt,RecodeDate(Now,2001,1,1));
  10. Writeln('This moment on the first of the millenium : ',S);
  11. End.