ex14.pp 325 B

1234567891011121314
  1. Program Example14;
  2. { This program demonstrates the FormatDateTime function }
  3. Uses sysutils;
  4. Var ThisMoment : TDateTime;
  5. Begin
  6. ThisMoment:=Now;
  7. Writeln ('Now : ',FormatDateTime('hh:nn',ThisMoment));
  8. Writeln ('Now : ',FormatDateTime('DD MM YYYY',ThisMoment));
  9. Writeln ('Now : ',FormatDateTime('c',ThisMoment));
  10. End.