Passa al contenuto principale

IsLeapYear

Indicates whether a specified year is a leap year.

Structure

IsLeapYear(Year: Word): Boolean;

Parameters

Return Value

Description

Call IsLeapYear to determine whether the year specified by the Year parameter is a leap year. Year specifies the calendar year.

Use DecodeDate to obtain the value of Year for IsLeapYear from a TDateTime value. |