Skip to main content

Is leap year

Check whether the year of a date, or a year number, is a leap year.

Command in the Date and time toolkit · id ooa.datetime/is_leap_year · 2 inputs, 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
ValueDateTimeNoDate whose year to check.
YearNumberNoYear number; used when no date is given.

Outputs​

OutputTypeWhat it is
resultBooleanTrue for a leap year.