mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-27 14:08:18 +02:00
16 lines
297 B
ObjectPascal
16 lines
297 B
ObjectPascal
Program Example94;
|
|
|
|
{ This program demonstrates the RecodeDate function }
|
|
|
|
Uses SysUtils,DateUtils;
|
|
|
|
Const
|
|
Fmt = 'dddd dd mmmm yyyy hh:nn:ss';
|
|
|
|
Var
|
|
S : AnsiString;
|
|
|
|
Begin
|
|
S:=FormatDateTime(Fmt,RecodeDate(Now,2001,1,1));
|
|
Writeln('This moment on the first of the millenium : ',S);
|
|
End. |