ex37.pp 223 B

12345678910111213
  1. Program Example37;
  2. { This program demonstrates the EndOfTheDay function }
  3. Uses SysUtils,DateUtils;
  4. Const
  5. Fmt = '"End of the day : "dd mmmm yyyy hh:nn:ss';
  6. Begin
  7. Writeln(FormatDateTime(Fmt,EndOfTheDay(Today)));
  8. End.