Description |
The IsLeapYear function returns true if a given calendar value is a leap year.
Year can have a value 0..9999
|
|
Related commands |
|
|
|
Example code : Was the year 2000 a leap year? |
begin
if IsLeapYear(2000)
then ShowMessage('2000 was a leap year')
else ShowMessage('2000 was not a leap year');
end;
|
Show full unit code |
2000 was a leap year
|
|