Date

Date is the current year, month, day, weekday, hour, minute, second, and time zone on the client computer.

Syntax

new Date()

Example

Example | Month

Example | Weekday

External

Mozilla Developer Network