JavaScript’s Date object is your go-to for date gymnastics.
Date
JavaScript’s Date objects come in handy.
JavaScript has built-in methods to convert dates to strings.
In vanilla JavaScript, the Date object is used to work with dates and times.
JavaScript natively offers the Date.parse() method and the Date constructor to parse date strings.
Date.parse()