isLeapYear
Определяет, является ли год високосным годом.
isLeapYear(year) → returns boolean
Справочник аргументов
year numeric Обязательный
Примеры Пример кода, вызывающего функцию isLeapYear
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