isLeapYear
Determines whether a year is a leap year.
isLeapYear(year) → returns boolean
Argument Reference
year numeric Required
Examples Sample code invoking the isLeapYear function
date = now();
isLeapYear = isLeapYear(year(date));
writeOutput(isLeapYear);
© 2012–present Foundeo, Inc. and the CFDocs contributors.
Licensed under the MIT License.
ColdFusion is a trademark of Adobe Systems Incorporated.
https://cfdocs.org/isleapyear