fpc/docs/datutex/ex104.pp
2004-12-30 13:30:23 +00:00

10 lines
225 B
ObjectPascal

Program Example104;
{ This program demonstrates the NthDayOfWeek function }
Uses SysUtils,DateUtils;
Begin
Write('Today is the ',NthDayOfWeek(Today),'-th ');
Writeln(formatdateTime('dddd',Today),' of the month.');
End.