ex72.pp 250 B

12345678910
  1. Program Example72;
  2. { This program demonstrates the IncMonth function }
  3. Uses SysUtils,DateUtils;
  4. Begin
  5. Writeln('One Month from today is ',DateToStr(IncMonth(Today,1)));
  6. Writeln('One Month ago from today is ',DateToStr(IncMonth(Today,-1)));
  7. End.