date (JavaScript 1.0)

Lets you work with dates and times.

Properties & Events

constructorSpecifies the function that creates an object's prototype. Note that the value of this property is a reference to the function itself, not a string containing the function's name.
chrome 1.0safari 1.0Firefox 1.0ie 4.0opera 7.0
prototypeRepresents the prototype for this class. You can use the prototype to add properties or methods to all instances of a class.
chrome 1.0safari 1.0Firefox 1.0ie 4.0opera 7.0

Result from the Online TryIt-Editor
chrome 1.0safari 1.0Firefox 1.0ie 3.0opera 4.0

Examples having uses of: 'date'

1 votes

Create JavaScript Cookie

Cookies are stored by the web browser. They allow you to store particular information about a user and retrieve it every time they visit your pages. Each user has their own unique set of cookies
0 votes

JavaScript clearInterval method

JavaScript clearInterval function enables you to stop the timer event started by the JavaScript setIntterval function. When you apply the setInterval function a JavaScript function by specifying the time interval then it calls the function continuously after equal intervals of time.
0 votes

JavaScript setInterval function

JavaScript setInterval function provides the functionality to execute the specified function after the sepcified time interval in milliseconds. Using the JavaScript setInterval function you can set the time interval to call a function again and again.
0 votes

JavaScript Date Object

The Date object is used to work with dates and times.