blob: aa54a233d8943fb36432deef2e5440ca4c980b34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
Program Example9;
{ This program demonstrates the IsValidDateDay function }
Uses SysUtils,DateUtils;
Var
Y : Word;
Begin
For Y:=1996 to 2004 do
if IsValidDateDay(Y,366) then
Writeln(Y,' is a leap year');
End.
|