- Date()
Constructs a new Date object that holds the specified date and time.
- getDate()
Returns the day of the month (an integer from 1 to 31) specified by a Date object according to local time.
- getDay()
Returns the day of the week (0 for Sunday, 1 for Monday, and so on) specified by this Date according to local time.
- getFullYear()
Returns the full year (a four-digit number, such as 2000) of a Date object according to local time.
- getHours()
Returns the hour (an integer from 0 to 23) of the day portion of a Date object according to local time.
- getMilliseconds()
Returns the milliseconds (an integer from 0 to 999) portion of a Date object according to local time.
- getMinutes()
Returns the minutes (an integer from 0 to 59) portion of a Date object according to local time.
- getMonth()
Returns the month (0 for January, 1 for February, and so on) portion of this Date according to local time.
- getSeconds()
Returns the seconds (an integer from 0 to 59) portion of a Date object according to local time.
- getTime()
Returns the number of milliseconds since midnight January 1, 1970, universal time, for a Date object.
- getTimezoneOffset()
Returns the difference, in minutes, between universal time (UTC) and the computer's local time.
- getUTCDate()
Returns the day of the month (an integer from 1 to 31) of a Date object, according to universal time (UTC).
- getUTCDay()
Returns the day of the week (0 for Sunday, 1 for Monday, and so on) of this Date according to universal time (UTC).
- getUTCFullYear()
Returns the four-digit year of a Date object according to universal time (UTC).
- getUTCHours()
Returns the hour (an integer from 0 to 23) of the day of a Date object according to universal time (UTC).
- getUTCMilliseconds()
Returns the milliseconds (an integer from 0 to 999) portion of a Date object according to universal time (UTC).
- getUTCMinutes()
Returns the minutes (an integer from 0 to 59) portion of a Date object according to universal time (UTC).
- getUTCMonth()
Returns the month (0 [January] to 11 [December]) portion of a Date object according to universal time (UTC).
- getUTCSeconds()
Returns the seconds (an integer from 0 to 59) portion of a Date object according to universal time (UTC).
- parse()
[static] Converts a string representing a date into a number equaling the number of milliseconds elapsed since January 1, 1970, UTC.
- setDate()
Sets the day of the month, according to local time, and returns the new time in milliseconds.
- setFullYear()
Sets the year, according to local time, and returns the new time in milliseconds.
- setHours()
Sets the hour, according to local time, and returns the new time in milliseconds.
- setMilliseconds()
Sets the milliseconds, according to local time, and returns the new time in milliseconds.
- setMinutes()
Sets the minutes, according to local time, and returns the new time in milliseconds.
- setMonth()
Sets the month and optionally the day of the month, according to local time, and returns the new time in milliseconds.
- setSeconds()
Sets the seconds, according to local time, and returns the new time in milliseconds.
- setTime()
Sets the date in milliseconds since midnight on January 1, 1970, and returns the new time in milliseconds.
- setUTCDate()
Sets the day of the month, in universal time (UTC), and returns the new time in milliseconds.
- setUTCFullYear()
Sets the year, in universal time (UTC), and returns the new time in milliseconds.
- setUTCHours()
Sets the hour, in universal time (UTC), and returns the new time in milliseconds.
- setUTCMilliseconds()
Sets the milliseconds, in universal time (UTC), and returns the new time in milliseconds.
- setUTCMinutes()
Sets the minutes, in universal time (UTC), and returns the new time in milliseconds.
- setUTCMonth()
Sets the month, and optionally the day, in universal time(UTC) and returns the new time in milliseconds.
- setUTCSeconds()
Sets the seconds, and optionally the milliseconds, in universal time (UTC) and returns the new time in milliseconds.
- toDateString()
Returns a string representation of the day and date only, and does not include the time or timezone.
- toJSON()
Provides an overridable method for customizing the JSON encoding of values in an Date object.
- toLocaleDateString()
Returns a String representation of the day and date only, and does not include the time or timezone.
- toLocaleTimeString()
Returns a String representation of the time only, and does not include the day, date, year, or timezone.
- toTimeString()
Returns a String representation of the time and timezone only, and does not include the day and date.
- toUTCString()
Returns a String representation of the day, date, and time in universal time (UTC).
- UTC()
[static] Returns the number of milliseconds between midnight on January 1, 1970, universal time, and the time specified in the parameters.