leapyear(a)


Returns true if the given date a is a leap year.

Description of Parameters

Parameter

Description

a

Date.

Examples

Parameter a

Result

2005-01-05

false

2008-01-05

true