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.
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).
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.
The [@@toPrimitive]() method converts a Date object to a primitive value.
The getDate() method returns the day of the month for the specified date according to local time.
The getDay() method returns the day of the week for the specified date according to local time, where 0 represents Sunday.
The getFullYear() method returns the year of the specified date according to local time.
The getHours() method returns the hour for the specified date, according to local time.
The getMilliseconds() method returns the milliseconds in the specified date according to local time.
The getMinutes() method returns the minutes in the specified date according to local time.
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).
The getSeconds() method returns the seconds in the specified date according to local time.
The getTimezoneOffset() method returns the time-zone offset from UTC, in minutes, for the current locale.
The getUTCDate() method returns the day (date) of the month in the specified date according to universal time.
The getUTCDay() method returns the day of the week in the specified date according to universal time, where 0 represents Sunday.
The getUTCFullYear() method returns the year in the specified date according to universal time.
The getUTCHours() method returns the hours in the specified date according to universal time.
The getUTCMilliseconds() method returns the milliseconds in the specified date according to universal time.
The getUTCMinutes() method returns the minutes in the specified date according to universal time.
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).