mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-26 21:28:16 +02:00
16 lines
284 B
ObjectPascal
16 lines
284 B
ObjectPascal
Program Example89;
|
|
|
|
{ This program demonstrates the RecodeDay function }
|
|
|
|
Uses SysUtils,DateUtils;
|
|
|
|
Const
|
|
Fmt = 'dddd dd mmmm yyyy hh:nn:ss';
|
|
|
|
Var
|
|
S : AnsiString;
|
|
|
|
Begin
|
|
S:=FormatDateTime(Fmt,RecodeDay(Now,1));
|
|
Writeln('This moment on the first of the month : ',S);
|
|
End. |