Date

Date objects are based on a time value that is the number of milliseconds since 1 January 1970 UTC.

There is no literal syntax for Date.
Without the 'new' keyword, Date() returns a string instead of a Date object.

Operators like <,>,<=,>= can also be used on Dates.
The + operator converts a date to an integer, which equals d.getTime().

Notice how in the last two examples, the month starts from 0. In the last example, the month and millisecond parameters are also 'carried forward'.
console.log(Date());
console.log(new Date());

console.log(new Date(1234567890123)); // ms since 1970

console.log(new Date('25 May 1982'));

console.log(new Date('25-05-1982'));
console.log(new Date('05-25-1982'));

console.log(new Date('05/25/1982 10:00'));

console.log(+(new Date()));

console.log((new Date()) > (new Date('05-30-2015')));

console.log(new Date(1982, 4, 25, 13));

console.log(new Date(1982, 13, 25, 13, 25, 33, 3333));

Tue Jul 18 2017 17:56:58 GMT+0800 ... Tue Jul 18 2017 17:56:58 GMT+0800 ... Sat Feb 14 2009 07:31:30 GMT+0800 ... Tue May 25 1982 00:00:00 GMT+0800 ... Invalid Date Tue May 25 1982 00:00:00 GMT+0800 ... Tue May 25 1982 10:00:00 GMT+0800 ... 1500464861478 true Tue May 25 1982 13:00:00 GMT+0800 ... Fri Feb 25 1983 13:25:36 GMT+0800 ...