tw1867.pp 208 B

12345678910111213
  1. uses SysUtils;
  2. var
  3. s : string;
  4. begin
  5. s:=formatdatetime ('hh:nn:ss.zzz', encodetime (12, 30, 44, 4));
  6. writeln(s);
  7. if s<>'12:30:44.004' then
  8. begin
  9. writeln('ERROR!');
  10. halt(1);
  11. end;
  12. end.