15.9.3.3 new Date()

2010-07-19

date new Date()

Create a new Date object using the arguments to create the time (for [[PrimitiveValue]]) the new object represents.

The resulting object will have [[Prototype]] set to the original Date prototype object (15.9.4.1), [[Class]] is set to "Date", [[Extensible]] is set to true and [[PrimitiveValue]] is set so the date reflects the current date and time (Date.now).