Date JavaScript Tutorial

Syntax

Date.prototype.property
    Date.prototype.method
The prototype property allows you to add new properties and methods to the Date object that can be used throughout your code.