ex77.pp 249 B

12345678910
  1. Program Example77;
  2. { This program demonstrates the IncSecond function }
  3. Uses SysUtils,DateUtils;
  4. Begin
  5. Writeln('One Second from now is ',TimeToStr(IncSecond(Time,1)));
  6. Writeln('One Second ago from now is ',TimeToStr(IncSecond(Time,-1)));
  7. End.