[Vuejs]-How do I account for leap years and months with 30 days in custom date picker drop downs?

0👍

The JavaScript Date object has all the capabilities of determining the number of days in a given month and year.

Here’s a CodeSandbox Demonstration showing leap years and the number of days for a selected month and year.

Leave a comment