isLeapYear

Determines whether a year is a leap year.

isLeapYear(year) → returns boolean

isLeapYear Argument Reference

year numeric
Required

Examples sample code invoking the isLeapYear function

date = now();
isLeapYear = isLeapYear(date);
writeOutput(isLeapYear);

Fork me on GitHub