Checks if the given year, month (1-12), and day (1-31) represent a valid calendar date.
Year between 1800 and 2200.
Month, 1 to 12.
Day of the month.
true if the date exists.
true
isValidCalendarDate(2024, 2, 29); // trueisValidCalendarDate(2023, 2, 29); // false Copy
isValidCalendarDate(2024, 2, 29); // trueisValidCalendarDate(2023, 2, 29); // false
Checks if the given year, month (1-12), and day (1-31) represent a valid calendar date.