leapyear()

This function returns "true" if the given date a is a leap year.

Parameters


Parameter

Description

a

Date.


Examples


Parameter a

Result

2005-01-05

false

2008-01-05

true