Skip to content

Glossary: JavaScript Beyond the Basics

Date

Also written: Date.now, getTime

A built-in object holding one moment, stored as the number of milliseconds since midnight UTC on January 1, 1970. Months count from 0, and methods like `setDate` change the object in place, so copy it first.

Where the book teaches it

Related terms

UTCISO 8601Temporal