Skip to main content
A newer version of this page is available. .

IsLeapYear(Integer) Method

Determines whether the specified year is a leap year.

Declaration

function IsLeapYear(AYear: Integer): Boolean;

Parameters

Name Type
AYear Integer

Returns

Type
Boolean

Remarks

Use the IsLeapYear function to determine whether the year passed as an AYear parameter contains 365 or 366 days.

See Also