Table Head (thead) |
---|
Table Row (tr) |
---|
| Table Head (th) |
---|
| Method Details |
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters Div |
---|
| {Number} year - A year after 1900. {Number} month - A number between 0 and 11. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| // The number of milliseconds in the first minute after 1970 January 1st.
application.output(Date.UTC(1970, 00, 01, 00, 01, 00, 00)); // prints: 60000.0 |
|
|
|
|
Table Body (tbody) |
---|
id | UTC-Number_Number_Number |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters Div |
---|
| {Number} year - A year after 1900. {Number} month - A number between 0 and 11. {Number} date - A number between 1 and 31. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| // The number of milliseconds in the first minute after 1970 January 1st.
application.output(Date.UTC(1970, 00, 01, 00, 01, 00, 00)); // prints: 60000.0 |
|
|
|
|
Table Body (tbody) |
---|
id | UTC-Number_Number_Number_Number |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(year, month, date, hrs) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters Div |
---|
| {Number} year - A year after 1900. {Number} month - A number between 0 and 11. {Number} date - A number between 1 and 31. {Number} hrs - A number between 0 and 23. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| // The number of milliseconds in the first minute after 1970 January 1st.
application.output(Date.UTC(1970, 00, 01, 00, 01, 00, 00)); // prints: 60000.0 |
|
|
|
|
Table Body (tbody) |
---|
id | UTC-Number_Number_Number_Number_Number |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(year, month, date, hrs, min) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters Div |
---|
| {Number} year - A year after 1900. {Number} month - A number between 0 and 11. {Number} date - A number between 1 and 31. {Number} hrs - A number between 0 and 23. {Number} min - A number between 0 and 59. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| // The number of milliseconds in the first minute after 1970 January 1st.
application.output(Date.UTC(1970, 00, 01, 00, 01, 00, 00)); // prints: 60000.0 |
|
|
|
|
Table Body (tbody) |
---|
id | UTC-Number_Number_Number_Number_Number_Number |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(year, month, date, hrs, min, sec) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters Div |
---|
| {Number} year - A year after 1900. {Number} month - A number between 0 and 11. {Number} date - A number between 1 and 31. {Number} hrs - A number between 0 and 23. {Number} min - A number between 0 and 59. {Number} sec - A number between 0 and 59. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| // The number of milliseconds in the first minute after 1970 January 1st.
application.output(Date.UTC(1970, 00, 01, 00, 01, 00, 00)); // prints: 60000.0 |
|
|
|
|
Table Body (tbody) |
---|
id | UTC-Number_Number_Number_Number_Number_Number_Number |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(year, month, date, hrs, min, sec, ms) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters Div |
---|
| {Number} year - A year after 1900. {Number} month - A number between 0 and 11. {Number} date - A number between 1 and 31. {Number} hrs - A number between 0 and 23. {Number} min - A number between 0 and 59. {Number} sec - A number between 0 and 59. {Number} ms - A number between 0 and 999. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| // The number of milliseconds in the first minute after 1970 January 1st.
application.output(Date.UTC(1970, 00, 01, 00, 01, 00, 00)); // prints: 60000.0 |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Gets the day of month. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.getDate(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Gets the day of the week (sunday = 0). |
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
getFullYear |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Gets the full year of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.getFullYear(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Gets the hours of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.getHours(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
getMilliseconds |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Gets the milliseconds of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.getMilliseconds(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
getMinutes |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Gets the minutes of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.getMinutes(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Gets the month of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.getMonth(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
getSeconds |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Gets the seconds of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.getSeconds(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| The value returned by the getTime method is the number of milliseconds since 1 January 1970 00:00:00. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.getTime(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
getTimezoneOffset |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Gets the number of minutes between GMT and this date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.getTimezoneOffset(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
getUTCDate |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.getUTCDate(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Gets the day in UTC time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.getUTCDay(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
getUTCFullYear |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Gets the full year in UTC time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.getUTCFullYear(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
getUTCHours |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Gets the hours in UTC time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.getUTCHours(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
getUTCMilliseconds |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Gets the milliseconds in UTC time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.getUTCMilliseconds(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
getUTCMinutes |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Gets the minutes in UTC time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.getUTCMinutes(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
getUTCMonth |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Gets the month in UTC time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.getUTCMonth(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
getUTCSeconds |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Gets the seconds in UTC time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.getUTCSeconds(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Returns the milliseconds elapsed since 1 January 1970 00:00:00 UTC up until now. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var timestamp = Date.now(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Takes a date string (such as "Dec 25, 1995") and returns the number of milliseconds since January 1, 1970, 00:00:00 UTC. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var str = Date.parse("Wed, 09 Aug 1995 00:00:00 GMT");
application.output(str); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setDate(integer); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setFullYear |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the full year of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setFullYear(integer); |
|
|
|
|
Table Body (tbody) |
---|
id | setFullYear-Number_Number |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setFullYear |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(yearValue, monthValue) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the full year of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setFullYear(integer); |
|
|
|
|
Table Body (tbody) |
---|
id | setFullYear-Number_Number_Number |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setFullYear |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(yearValue, monthValue, dayValue) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the full year of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setFullYear(integer); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the hours of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setHours(integer); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(hoursValue, minutesValue) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the hours of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setHours(integer); |
|
|
|
|
Table Body (tbody) |
---|
id | setHours-Number_Number_Number |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(hoursValue, minutesValue, secondsValue) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the hours of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setHours(integer); |
|
|
|
|
Table Body (tbody) |
---|
id | setHours-Number_Number_Number_Number |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(hoursValue, minutesValue, secondsValue, msValue) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the hours of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setHours(integer); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setMilliseconds |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the milliseconds of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setMilliseconds(integer); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setMinutes |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the minutes of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setMinutes(integer); |
|
|
|
|
Table Body (tbody) |
---|
id | setMinutes-Number_Number |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setMinutes |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(minutesValue, secondsValue) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the minutes of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setMinutes(integer); |
|
|
|
|
Table Body (tbody) |
---|
id | setMinutes-Number_Number_Number |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setMinutes |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(minutesValue, secondsValue, msValue) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the minutes of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setMinutes(integer); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the month of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setMonth(integr); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(monthValue, dayValue) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the month of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setMonth(integr); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setSeconds |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the seconds of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setSeconds(integer); |
|
|
|
|
Table Body (tbody) |
---|
id | setSeconds-Number_Number |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setSeconds |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(secondsValue, msValue) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the seconds of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setSeconds(integer); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the milliseconds of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setTime(integer); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setUTCDate |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setUTCDate(integer); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setUTCFullYear |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the year in UTC time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setUTCFullYear(integer); |
|
|
|
|
Table Body (tbody) |
---|
id | setUTCFullYear-Number_Number |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setUTCFullYear |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(yearValue, monthValue) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the year in UTC time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setUTCFullYear(integer); |
|
|
|
|
Table Body (tbody) |
---|
id | setUTCFullYear-Number_Number_Number |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setUTCFullYear |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(yearValue, monthValue, dayValue) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the year in UTC time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setUTCFullYear(integer); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setUTCHours |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the hours in UTC time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setUTCHours(integer); |
|
|
|
|
Table Body (tbody) |
---|
id | setUTCHours-Number_Number |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setUTCHours |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(hoursValue, minutesValue) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the hours in UTC time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setUTCHours(integer); |
|
|
|
|
Table Body (tbody) |
---|
id | setUTCHours-Number_Number_Number |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setUTCHours |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(hoursValue, minutesValue, secondsValue) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the hours in UTC time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setUTCHours(integer); |
|
|
|
|
Table Body (tbody) |
---|
id | setUTCHours-Number_Number_Number_Number |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setUTCHours |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(hoursValue, minutesValue, secondsValue, msValue) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the hours in UTC time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setUTCHours(integer); |
|
|
|
|
Table Body (tbody) |
---|
id | setUTCMilliseconds-Number |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setUTCMilliseconds |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the milliseconds in UTC time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setUTCMilliseconds(integer); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setUTCMinutes |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the minutes in UTC time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setUTCMinutes(integer); |
|
|
|
|
Table Body (tbody) |
---|
id | setUTCMinutes-Number_Number |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setUTCMinutes |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(minutesValue, secondsValue) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the minutes in UTC time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setUTCMinutes(integer); |
|
|
|
|
Table Body (tbody) |
---|
id | setUTCMinutes-Number_Number_Number |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setUTCMinutes |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(minutesValue, secondsValue, msValue) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the minutes in UTC time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setUTCMinutes(integer); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setUTCMonth |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the month in UTC time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setUTCMonth(integer); |
|
|
|
|
Table Body (tbody) |
---|
id | setUTCMonth-Number_Number |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setUTCMonth |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(monthValue, dayValue) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the month in UTC time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setUTCMonth(integer); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setUTCSeconds |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the seconds in UTC time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setUTCSeconds(integer); |
|
|
|
|
Table Body (tbody) |
---|
id | setUTCSeconds-Number_Number |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setUTCSeconds |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(secondsValue, msValue) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Sets the seconds in UTC time. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.setUTCSeconds(integer); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
toDateString |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Returns a string version of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.toDateString(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
toLocaleDateString |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Returns a string version of the local time zone of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.toLocaleDateString(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
toLocaleString |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Returns a string version of the local time zone of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.toLocaleString(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
toLocaleTimeString |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Returns a string version of the local time zone of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.toLocaleTimeString(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
toTimeString |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Returns a string version of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.toTimeString(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
toUTCString |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Returns a string version of the UTC value of the date. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.toUTCString(); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Return integer milliseconds count |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| date.valueOf(integer); |
|
|
|
|
|