blob: f149a2845f8e5512836cbffa07bc3532acf0cd5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
Program Example26;
{ This program demonstrates the StartOfAYear function }
Uses SysUtils,DateUtils;
Const
Fmt = '"First day of this year : "dd mmmm yyyy';
Begin
Writeln(FormatDateTime(Fmt,StartOfAYear(YearOf(Today))));
End.
|