Returns a new Date object holding the current date and time.
Date
A date/time object.
Methods
Returns the number of milliseconds between midnight January 1, 1970, UTC, and the specified time.
Returns the day of the month of the specified Date object in local time.
Returns the day of the week for the specified Date object in local time.
Returns the four digit year of the specified Date object in local time.
Returns the hour of the specified Date object in local time.
Returns the milliseconds of the specified Date object in local time.
Returns the minutes of the specified Date object in local time.
Returns the month of the specified Date object in local time.
Returns the seconds of the specified Date object in local time.
Returns the number of milliseconds since midnight January 1,1970 UTC for the specified Date object.
Returns the difference in minutes between the computer's local time and UTC.
Returns the day of the month of the specified Date object according to UTC.
Returns the day of the week for the specified Date object according to UTC.
Returns the four digit year of the specified Date object according to UTC.
Returns the hour of the specified Date object according to UTC.
Returns the milliseconds of the specified Date object according to UTC.
Returns the minutes of the specified Date object according to UTC.
Returns the month of the specified Date object according to UTC.
Returns the seconds of the specified Date object according to UTC.
Returns the year of the specified Date object, as a difference from 1900, in local time.
Parses a string, returning a new Date object. The string should be similar to the string returned bt toString().
Sets the day of the month of a specified Date object according to local time.
Sets the year of a specified Date object according to local time.
Sets the hours of a specified Date object according to local time.
Sets the milliseconds of a specified Date object according to local time.
Sets the minutes of a specified Date object according to local time.
Sets the month of a specified Date object according to local time.
Sets the seconds of a specified Date object according to local time.
Sets the date of a specified Date object in milliseconds since midnight, January 1, 1970.
Sets the date of a specified Date object according to universal time.
Sets the year of a specified Date object according to UTC, can also set the month and date.
Sets the hours of a specified Date object according to UTC.
Sets the milliseconds of a specified Date object according to UTC.
Sets the minutes of a specified Date object according to UTC.
Sets the month of a specified Date object according to UTC.
Sets the seconds of a specified Date object according to UTC.
Sets the year of a specified Date object according to local time, as a difference between the current year and 1900.
Returns the date as a string.
Returns the date and time adjusted to GMT (UTC) as a string.
Returns the date as a localized string.
Returns a string value representing the date and time stored in the Date object in human readable format (localized).
Returns the time as a localized string.
Creates a string representation of this object that can be fed back to eval() to re-create an object. Works only with built-in classes.
Returns a string value representing the date and time stored in the Date object in human readable format.
Returns the time as a string.
Returns the date and time adjusted to UTC as a string.
The valueOf() method returns the number of milliseconds that have passed since midnight, Returns an integer.
Object of 5
Properties elsewhere that hold a Date.
Return 3
Methods that return a Date.