Indicates whether the specified year is a leap year or not.
Reminder : a leap year is a year that has 366 days instead of 365. The additional day is February 29.
// Indicates whether it's a leap year
IF LeapYear() THEN
Info("It's a leap year.")
<Result> = LeapYear([<Date>])
- True if the year is a leap year,
- False otherwise.
<Date>: Optional character string or integer
Date for which we want to know if the corresponding year is a leap year. This parameter can correspond to:
If this parameter is not specified, the current year will be handled.
- a date or a year in character string format,
- a date, a DateTime or a year in integer format.
Remark: The year must be included between 0 and 9999.
Business / UI classification: Neutral code