IsLeapYear
Determine whether a given integer value represents a leap year.
Method Signature
IsLeapYear(year=[numeric])Arguments
Argument
Type
Required
Description
Default
year
numeric
true
Number representing the year to test.
Examples
Is the current date in a leap year?
date = now();
isLeapYear = isLeapYear( year( date ) );
writeOutput( isLeapYear );
Additional Examples
Related
Last updated
Was this helpful?
