JavaScript: Date Object

By Xah Lee. Date: . Last updated: .

Date is the value of the property key "Date" of the Global Object .

console.log( window.Date === Date );

Type

Type of Date is a function.

console.log( typeof Date === "function" );

Parent

Parent of Date is Function.prototype.

console.log( Reflect.getPrototypeOf ( Date ) === Function.prototype );

Purpose

Purpose of Date is:

Date Constructor

Date Constructor

Properties

JavaScript Date

BUY
ΣJS
JavaScript in Depth