ex33.pp 222 B

123456789101112
  1. Program Example33;
  2. { This program demonstrates the EndOfTheWeek function }
  3. Uses SysUtils,DateUtils;
  4. Const
  5. Fmt = '"last day of this week : "dd mmmm yyyy';
  6. Begin
  7. Writeln(FormatDateTime(Fmt,EndOfTheWeek(Today)));
  8. End.