JavaScript Date object
reviewing this calendar-oriented built-in object
// updated 2025-05-09 10:28
The Date
object in JavaScript tells us the current date but in its standard format:
const today = new Date()
// Sat Feb 20 2021 10:00:00 GMT -0500 (Eastern Standard Time)
We can format this date in many ways!