Results 1 - 20 of 54

Date

Creates a JavaScript Date instance that represents a single moment in time. Date objects are based on a time value that is the number of milliseconds since 1 January, 1970 UTC.
Date JavaScript

Date.parse()

The Date.parse() method parses a string representation of a date, and returns the number of milliseconds since January 1, 1970, 00:00:00 UTC or NaN if the string is unrecognised or, in some cases, contains illegal date values (e.g. 2015-02-31).
Date JavaScript Method Reference

Date.UTC()

The Date.UTC() method accepts the same parameters as the longest form of the constructor, and returns the number of milliseconds in a Date object since January 1, 1970, 00:00:00, universal time.
Date JavaScript Method Reference

Date.prototype[@@toPrimitive]

The [@@toPrimitive]() method converts a Date object to a primitive value.
Date JavaScript Method Prototype Reference

Date.prototype.getDate()

The getDate() method returns the day of the month for the specified date according to local time.
Date JavaScript Method Prototype Reference

Date.prototype.getDay()

The getDay() method returns the day of the week for the specified date according to local time, where 0 represents Sunday.
Date JavaScript Method Prototype Reference

Date.prototype.getFullYear()

The getFullYear() method returns the year of the specified date according to local time.
Date JavaScript Method Prototype Reference

Date.prototype.getHours()

The getHours() method returns the hour for the specified date, according to local time.
Date JavaScript Method Prototype Reference

Date.prototype.getMilliseconds()

The getMilliseconds() method returns the milliseconds in the specified date according to local time.
Date JavaScript Method Prototype Reference

Date.prototype.getMinutes()

The getMinutes() method returns the minutes in the specified date according to local time.
Date JavaScript Method Prototype Reference

Date.prototype.getMonth()

The getMonth() method returns the month in the specified date according to local time, as a zero-based value (where zero indicates the first month of the year).
Date JavaScript Method Prototype Reference

Date.prototype.getSeconds()

The getSeconds() method returns the seconds in the specified date according to local time.
Date JavaScript Method Prototype Reference

Date.prototype.getTimezoneOffset()

The getTimezoneOffset() method returns the time-zone offset from UTC, in minutes, for the current locale.
Date JavaScript Method Prototype Reference

Date.prototype.getUTCDate()

The getUTCDate() method returns the day (date) of the month in the specified date according to universal time.
Date JavaScript Method Prototype Reference

Date.prototype.getUTCDay()

The getUTCDay() method returns the day of the week in the specified date according to universal time, where 0 represents Sunday.
Date JavaScript Method Prototype Reference

Date.prototype.getUTCFullYear()

The getUTCFullYear() method returns the year in the specified date according to universal time.
Date JavaScript Method Prototype Reference

Date.prototype.getUTCHours()

The getUTCHours() method returns the hours in the specified date according to universal time.
Date JavaScript Method Prototype Reference

Date.prototype.getUTCMilliseconds()

The getUTCMilliseconds() method returns the milliseconds in the specified date according to universal time.
Date JavaScript Method Prototype Reference

Date.prototype.getUTCMinutes()

The getUTCMinutes() method returns the minutes in the specified date according to universal time.
Date JavaScript Method Prototype Reference

Date.prototype.getUTCMonth()

The getUTCMonth() returns the month of the specified date according to universal time, as a zero-based value (where zero indicates the first month of the year).
Date JavaScript Method Prototype Reference