Returns true if the Gregorian year is a leap year
Gregorian year
isGregLeapYear(2000); // trueisGregLeapYear(2020); // trueisGregLeapYear(2023); // falseisGregLeapYear(2100); // false (divisible by 100 but not 400) Copy
isGregLeapYear(2000); // trueisGregLeapYear(2020); // trueisGregLeapYear(2023); // falseisGregLeapYear(2100); // false (divisible by 100 but not 400)
Returns true if the Gregorian year is a leap year