IsLeapYear
Returns true if the year is a leap year.
Variants
IsLeapYear(Date date)
Returns true if the date falls in a leap year.
Parameters
- date
- The date to check.
Returns
Boolean
Examples
IsLeapYear(#2012-01-01#)returns true.IsLeapYear(#2013-03-03#)returns false.
IsLeapYear(Numeric year)
Returns true if the year is a leap year.
Parameters
- year
- The year to check.
Returns
Boolean
Examples
IsLeapYear(2012)returns true.IsLeapYear(2013)returns false.