ex104.pp 225 B

12345678910
  1. Program Example104;
  2. { This program demonstrates the NthDayOfWeek function }
  3. Uses SysUtils,DateUtils;
  4. Begin
  5. Write('Today is the ',NthDayOfWeek(Today),'-th ');
  6. Writeln(formatdateTime('dddd',Today),' of the month.');
  7. End.