Date object

The built-in JavaScript object for a point in time.

In more detail

Internally it stores the number of milliseconds since 1 January 1970 in UTC. Dates survive structured cloning as real Date objects, but JSON turns them into strings.

Related terms

Taught in

References