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 ); // true

Type

Type of Date is a function.

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

Parent

Parent of Date is Function.prototype.

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

Purpose

Purpose of Date is:

Date Constructor

Date Constructor

Properties

JavaScript Date

JS in Depth
XAH  BUY NOW

JS in Depth

JS Obj Ref

DOM


JS Obj Ref

Date

prototype