Child pages
  • Date

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Hidden
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE


HTML Table
classservoy sSummery
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Constructor Summery
Table Body (tbody)
Table Row (tr)
Table Cell (td)

Table Cell (td)
#Date()
Use the current date and time to create an instance of the object date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)

Table Cell (td)
#Date(milliseconds)
Create instance of date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)

Table Cell (td)
#Date(year, month, day)
Create an instance of date with the specified values.
Table Body (tbody)
Table Row (tr)
Table Cell (td)

Table Cell (td)
#Date(year, month, day, hours, minutes, seconds)
Create an instance of date with the specified values.
Table Body (tbody)
Table Row (tr)
Table Cell (td)

Table Cell (td)
#Date(year, month, day, hours, minutes, seconds, milliseconds)
Create an instance of date with the specified values.
Table Body (tbody)
Table Row (tr)
Table Cell (td)

Table Cell (td)
#Date(dateString)
Use the date specified by the string to create the instance of the date object.

HTML Table
classservoy sSummery
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Summery
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Date
Table Cell (td)
#UTC(year, month, [date], [hrs], [min], [sec], [ms])
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 Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getDate()
Gets the day of month.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getDay()
Gets the day of the week (sunday = 0).
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getFullYear()
Gets the full year of the date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getHours()
Gets the hours of the date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getMilliseconds()
Gets the milliseconds of the date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getMinutes()
Gets the minutes of the date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getMonth()
Gets the month of the date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getSeconds()
Gets the seconds of the date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getTime()
The value returned by the getTime method is the number of milliseconds since 1 January 1970 00:00:00.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getTimezoneOffset()
Gets the number of minutes between GMT and this date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getUTCDate()
Gets the UTC date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getUTCDay()
Gets the day in UTC time.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getUTCFullYear()
Gets the full year in UTC time.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getUTCHours()
Gets the hours in UTC time.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getUTCMilliseconds()
Gets the milliseconds in UTC time.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getUTCMinutes()
Gets the minutes in UTC time.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getUTCMonth()
Gets the month in UTC time.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getUTCSeconds()
Gets the seconds in UTC time.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Date
Table Cell (td)
#now()
Returns the milliseconds elapsed since 1 January 1970 00:00:00 UTC up until now.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Date
Table Cell (td)
#parse()
Takes a date string (such as "Dec 25, 1995") and returns the number of milliseconds since January 1, 1970, 00:00:00 UTC.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setDate(dayValue)
Sets the date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setFullYear(yearValue, [monthValue], [dayValue])
Sets the full year of the date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setHours(hoursValue, [minutesValue], [secondsValue], [msValue])
Sets the hours of the date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setMilliseconds(millisecondsValue)
Sets the milliseconds of the date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setMinutes(minutesValue, [secondsValue], [msValue])
Sets the minutes of the date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setMonth(monthValue, [dayValue])
Sets the month of the date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setSeconds(secondsValue, [msValue])
Sets the seconds of the date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setTime(timeValue)
Sets the milliseconds of the date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setUTCDate(dayValue)
Sets the UTC date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setUTCFullYear(yearValue, [monthValue], [dayValue])
Sets the year in UTC time.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setUTCHours(hoursValue, [minutesValue], [secondsValue], [msValue])
Sets the hours in UTC time.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setUTCMilliseconds(millisecondsValue)
Sets the milliseconds in UTC time.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setUTCMinutes(minutesValue, [secondsValue], [msValue])
Sets the minutes in UTC time.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setUTCMonth(monthValue, [dayValue])
Sets the month in UTC time.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setUTCSeconds(secondsValue, [msValue])
Sets the seconds in UTC time.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setYear(yearValue)
Sets the year of the date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#toDateString()
Returns a string version of the date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#toLocaleDateString()
Returns a string version of the local time zone of the date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#toLocaleString()
Returns a string version of the local time zone of the date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#toLocaleTimeString()
Returns a string version of the local time zone of the date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#toTimeString()
Returns a string version of the date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#toUTCString()
Returns a string version of the UTC value of the date.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#valueOf()
Return integer milliseconds count

HTML Table
idfunction
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Constructor Details
Table Body (tbody)
idDate
classnode
Table Row (tr)
idname
Table Cell (td)
Date
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;

Span
stylefloat: left; font-weight: bold;
idiets
Date
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Use the current date and time to create an instance of the object date.
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var date = new Date();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idDate-Number
classnode
Table Row (tr)
idname
Table Cell (td)
Date
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;

Span
stylefloat: left; font-weight: bold;
idiets
Date
Span
stylefloat: left;
idiets
(milliseconds)
Table Row (tr)
iddes
Table Cell (td)
Create instance of date. The argument is the number of milliseconds since 1 January 1970 00:00:00 UTC.
Table Row (tr)
idprs
Table Cell (td)
Parameters
{Number} milliseconds
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var date = new Date(milliseconds);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idDate-Number_Number_Number
classnode
Table Row (tr)
idname
Table Cell (td)
Date
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;

Span
stylefloat: left; font-weight: bold;
idiets
Date
Span
stylefloat: left;
idiets
(year, month, day)
Table Row (tr)
iddes
Table Cell (td)
Create an instance of date with the specified values.
Table Row (tr)
idprs
Table Cell (td)
Parameters
{Number} year
{Number} month
{Number} day
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var date = new Date(year, month, day);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idDate-Number_Number_Number_Number_Number_Number
classnode
Table Row (tr)
idname
Table Cell (td)
Date
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;

Span
stylefloat: left; font-weight: bold;
idiets
Date
Span
stylefloat: left;
idiets
(year, month, day, hours, minutes, seconds)
Table Row (tr)
iddes
Table Cell (td)
Create an instance of date with the specified values.
Table Row (tr)
idprs
Table Cell (td)
Parameters
{Number} year
{Number} month
{Number} day
{Number} hours
{Number} minutes
{Number} seconds
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var date = new Date(year, month, day, hours, minutes, seconds);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idDate-Number_Number_Number_Number_Number_Number_Number
classnode
Table Row (tr)
idname
Table Cell (td)
Date
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;

Span
stylefloat: left; font-weight: bold;
idiets
Date
Span
stylefloat: left;
idiets
(year, month, day, hours, minutes, seconds, milliseconds)
Table Row (tr)
iddes
Table Cell (td)
Create an instance of date with the specified values.
Table Row (tr)
idprs
Table Cell (td)
Parameters
{Number} year
{Number} month
{Number} day
{Number} hours
{Number} minutes
{Number} seconds
{Number} milliseconds
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var date = new Date(year, month, day, hours, minutes, seconds, milliseconds)
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idDate-String
classnode
Table Row (tr)
idname
Table Cell (td)
Date
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;

Span
stylefloat: left; font-weight: bold;
idiets
Date
Span
stylefloat: left;
idiets
(dateString)
Table Row (tr)
iddes
Table Cell (td)
Use the date specified by the string to create the instance of the date object. String format is "month day, year hours:minutes:seconds".
Table Row (tr)
idprs
Table Cell (td)
Parameters
{String} dateString
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var date = new Date(dateString);
Table Row (tr)
classlastDetailRow
Table Cell (td)


HTML Table
idfunction
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Method Details
Table Body (tbody)
idUTC
classnode
Table Row (tr)
idname
Table Cell (td)
UTC
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Date
Span
stylefloat: left; font-weight: bold;
idiets
UTC
Span
stylefloat: left;
idiets
(year, month, [date], [hrs], [min], [sec], [ms])
Table Row (tr)
iddes
Table Cell (td)
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)
idprs
Table Cell (td)
Parameters
{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)
idret
Table Cell (td)
Returns
Date
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
// 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 Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetDate
classnode
Table Row (tr)
idname
Table Cell (td)
getDate
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getDate
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Gets the day of month.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.getDate();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetDay
classnode
Table Row (tr)
idname
Table Cell (td)
getDay
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getDay
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Gets the day of the week (sunday = 0).
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.getDay();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetFullYear
classnode
Table Row (tr)
idname
Table Cell (td)
getFullYear
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getFullYear
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Gets the full year of the date.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.getFullYear();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetHours
classnode
Table Row (tr)
idname
Table Cell (td)
getHours
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getHours
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Gets the hours of the date.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.getHours();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetMilliseconds
classnode
Table Row (tr)
idname
Table Cell (td)
getMilliseconds
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getMilliseconds
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Gets the milliseconds of the date.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.getMilliseconds();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetMinutes
classnode
Table Row (tr)
idname
Table Cell (td)
getMinutes
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getMinutes
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Gets the minutes of the date.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.getMinutes();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetMonth
classnode
Table Row (tr)
idname
Table Cell (td)
getMonth
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getMonth
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Gets the month of the date.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.getMonth();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetSeconds
classnode
Table Row (tr)
idname
Table Cell (td)
getSeconds
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getSeconds
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Gets the seconds of the date.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.getSeconds();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetTime
classnode
Table Row (tr)
idname
Table Cell (td)
getTime
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getTime
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
The value returned by the getTime method is the number of milliseconds since 1 January 1970 00:00:00.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.getTime();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetTimezoneOffset
classnode
Table Row (tr)
idname
Table Cell (td)
getTimezoneOffset
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getTimezoneOffset
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Gets the number of minutes between GMT and this date.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.getTimezoneOffset();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetUTCDate
classnode
Table Row (tr)
idname
Table Cell (td)
getUTCDate
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getUTCDate
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Gets the UTC date.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.getUTCDate();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetUTCDay
classnode
Table Row (tr)
idname
Table Cell (td)
getUTCDay
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getUTCDay
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Gets the day in UTC time.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.getUTCDay();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetUTCFullYear
classnode
Table Row (tr)
idname
Table Cell (td)
getUTCFullYear
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getUTCFullYear
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Gets the full year in UTC time.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.getUTCFullYear();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetUTCHours
classnode
Table Row (tr)
idname
Table Cell (td)
getUTCHours
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getUTCHours
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Gets the hours in UTC time.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.getUTCHours();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetUTCMilliseconds
classnode
Table Row (tr)
idname
Table Cell (td)
getUTCMilliseconds
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getUTCMilliseconds
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Gets the milliseconds in UTC time.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.getUTCMilliseconds();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetUTCMinutes
classnode
Table Row (tr)
idname
Table Cell (td)
getUTCMinutes
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getUTCMinutes
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Gets the minutes in UTC time.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.getUTCMinutes();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetUTCMonth
classnode
Table Row (tr)
idname
Table Cell (td)
getUTCMonth
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getUTCMonth
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Gets the month in UTC time.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.getUTCMonth();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetUTCSeconds
classnode
Table Row (tr)
idname
Table Cell (td)
getUTCSeconds
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getUTCSeconds
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Gets the seconds in UTC time.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.getUTCSeconds();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idnow
classnode
Table Row (tr)
idname
Table Cell (td)
now
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Date
Span
stylefloat: left; font-weight: bold;
idiets
now
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Returns the milliseconds elapsed since 1 January 1970 00:00:00 UTC up until now.
Table Row (tr)
idret
Table Cell (td)
Returns
Date
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idparse
classnode
Table Row (tr)
idname
Table Cell (td)
parse
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Date
Span
stylefloat: left; font-weight: bold;
idiets
parse
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
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)
idret
Table Cell (td)
Returns
Date
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetDate
classnode
Table Row (tr)
idname
Table Cell (td)
setDate
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setDate
Span
stylefloat: left;
idiets
(dayValue)
Table Row (tr)
iddes
Table Cell (td)
Sets the date.
Table Row (tr)
idprs
Table Cell (td)
Parameters
{Number} dayValue
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.setDate(integer);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetFullYear
classnode
Table Row (tr)
idname
Table Cell (td)
setFullYear
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setFullYear
Span
stylefloat: left;
idiets
(yearValue, [monthValue], [dayValue])
Table Row (tr)
iddes
Table Cell (td)
Sets the full year of the date.
Table Row (tr)
idprs
Table Cell (td)
Parameters
{Number} yearValue
{Number} [monthValue]
{Number} [dayValue]
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.setFullYear(integer);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetHours
classnode
Table Row (tr)
idname
Table Cell (td)
setHours
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setHours
Span
stylefloat: left;
idiets
(hoursValue, [minutesValue], [secondsValue], [msValue])
Table Row (tr)
iddes
Table Cell (td)
Sets the hours of the date.
Table Row (tr)
idprs
Table Cell (td)
Parameters
{Number} hoursValue
{Number} [minutesValue]
{Number} [secondsValue]
{Number} [msValue]
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.setHours(integer);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetMilliseconds
classnode
Table Row (tr)
idname
Table Cell (td)
setMilliseconds
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setMilliseconds
Span
stylefloat: left;
idiets
(millisecondsValue)
Table Row (tr)
iddes
Table Cell (td)
Sets the milliseconds of the date.
Table Row (tr)
idprs
Table Cell (td)
Parameters
{Number} millisecondsValue
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.setMilliseconds(integer);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetMinutes
classnode
Table Row (tr)
idname
Table Cell (td)
setMinutes
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setMinutes
Span
stylefloat: left;
idiets
(minutesValue, [secondsValue], [msValue])
Table Row (tr)
iddes
Table Cell (td)
Sets the minutes of the date.
Table Row (tr)
idprs
Table Cell (td)
Parameters
{Number} minutesValue
{Number} [secondsValue]
{Number} [msValue]
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.setMinutes(integer);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetMonth
classnode
Table Row (tr)
idname
Table Cell (td)
setMonth
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setMonth
Span
stylefloat: left;
idiets
(monthValue, [dayValue])
Table Row (tr)
iddes
Table Cell (td)
Sets the month of the date.
Table Row (tr)
idprs
Table Cell (td)
Parameters
{Number} monthValue
{Number} [dayValue]
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.setMonth(integr);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetSeconds
classnode
Table Row (tr)
idname
Table Cell (td)
setSeconds
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setSeconds
Span
stylefloat: left;
idiets
(secondsValue, [msValue])
Table Row (tr)
iddes
Table Cell (td)
Sets the seconds of the date.
Table Row (tr)
idprs
Table Cell (td)
Parameters
{Number} secondsValue
{Number} [msValue]
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.setSeconds(integer);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetTime
classnode
Table Row (tr)
idname
Table Cell (td)
setTime
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setTime
Span
stylefloat: left;
idiets
(timeValue)
Table Row (tr)
iddes
Table Cell (td)
Sets the milliseconds of the date.
Table Row (tr)
idprs
Table Cell (td)
Parameters
{Number} timeValue
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.setTime(integer);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetUTCDate
classnode
Table Row (tr)
idname
Table Cell (td)
setUTCDate
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setUTCDate
Span
stylefloat: left;
idiets
(dayValue)
Table Row (tr)
iddes
Table Cell (td)
Sets the UTC date.
Table Row (tr)
idprs
Table Cell (td)
Parameters
{Number} dayValue
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.setUTCDate(integer);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetUTCFullYear
classnode
Table Row (tr)
idname
Table Cell (td)
setUTCFullYear
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setUTCFullYear
Span
stylefloat: left;
idiets
(yearValue, [monthValue], [dayValue])
Table Row (tr)
iddes
Table Cell (td)
Sets the year in UTC time.
Table Row (tr)
idprs
Table Cell (td)
Parameters
{Number} yearValue
{Number} [monthValue]
{Number} [dayValue]
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.setUTCFullYear(integer);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetUTCHours
classnode
Table Row (tr)
idname
Table Cell (td)
setUTCHours
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setUTCHours
Span
stylefloat: left;
idiets
(hoursValue, [minutesValue], [secondsValue], [msValue])
Table Row (tr)
iddes
Table Cell (td)
Sets the hours in UTC time.
Table Row (tr)
idprs
Table Cell (td)
Parameters
{Number} hoursValue
{Number} [minutesValue]
{Number} [secondsValue]
{Number} [msValue]
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.setUTCHours(integer);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetUTCMilliseconds
classnode
Table Row (tr)
idname
Table Cell (td)
setUTCMilliseconds
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setUTCMilliseconds
Span
stylefloat: left;
idiets
(millisecondsValue)
Table Row (tr)
iddes
Table Cell (td)
Sets the milliseconds in UTC time.
Table Row (tr)
idprs
Table Cell (td)
Parameters
{Number} millisecondsValue
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.setUTCMilliseconds(integer);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetUTCMinutes
classnode
Table Row (tr)
idname
Table Cell (td)
setUTCMinutes
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setUTCMinutes
Span
stylefloat: left;
idiets
(minutesValue, [secondsValue], [msValue])
Table Row (tr)
iddes
Table Cell (td)
Sets the minutes in UTC time.
Table Row (tr)
idprs
Table Cell (td)
Parameters
{Number} minutesValue
{Number} [secondsValue]
{Number} [msValue]
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.setUTCMinutes(integer);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetUTCMonth
classnode
Table Row (tr)
idname
Table Cell (td)
setUTCMonth
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setUTCMonth
Span
stylefloat: left;
idiets
(monthValue, [dayValue])
Table Row (tr)
iddes
Table Cell (td)
Sets the month in UTC time.
Table Row (tr)
idprs
Table Cell (td)
Parameters
{Number} monthValue
{Number} [dayValue]
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.setUTCMonth(integer);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetUTCSeconds
classnode
Table Row (tr)
idname
Table Cell (td)
setUTCSeconds
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setUTCSeconds
Span
stylefloat: left;
idiets
(secondsValue, [msValue])
Table Row (tr)
iddes
Table Cell (td)
Sets the seconds in UTC time.
Table Row (tr)
idprs
Table Cell (td)
Parameters
{Number} secondsValue
{Number} [msValue]
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.setUTCSeconds(integer);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetYear
classnode
Table Row (tr)
idname
Table Cell (td)
setYear
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setYear
Span
stylefloat: left;
idiets
(yearValue)
Table Row (tr)
iddes
Table Cell (td)
Sets the year of the date.
Table Row (tr)
idprs
Table Cell (td)
Parameters
{Number} yearValue
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.setYear(integer);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idtoDateString
classnode
Table Row (tr)
idname
Table Cell (td)
toDateString
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
String
Span
stylefloat: left; font-weight: bold;
idiets
toDateString
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Returns a string version of the date.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.toDateString();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idtoLocaleDateString
classnode
Table Row (tr)
idname
Table Cell (td)
toLocaleDateString
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
String
Span
stylefloat: left; font-weight: bold;
idiets
toLocaleDateString
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Returns a string version of the local time zone of the date.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.toLocaleDateString();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idtoLocaleString
classnode
Table Row (tr)
idname
Table Cell (td)
toLocaleString
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
String
Span
stylefloat: left; font-weight: bold;
idiets
toLocaleString
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Returns a string version of the local time zone of the date.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.toLocaleString();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idtoLocaleTimeString
classnode
Table Row (tr)
idname
Table Cell (td)
toLocaleTimeString
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
String
Span
stylefloat: left; font-weight: bold;
idiets
toLocaleTimeString
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Returns a string version of the local time zone of the date.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.toLocaleTimeString();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idtoTimeString
classnode
Table Row (tr)
idname
Table Cell (td)
toTimeString
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
String
Span
stylefloat: left; font-weight: bold;
idiets
toTimeString
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Returns a string version of the date.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.toTimeString();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idtoUTCString
classnode
Table Row (tr)
idname
Table Cell (td)
toUTCString
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
String
Span
stylefloat: left; font-weight: bold;
idiets
toUTCString
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Returns a string version of the UTC value of the date.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.toUTCString();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idvalueOf
classnode
Table Row (tr)
idname
Table Cell (td)
valueOf
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
valueOf
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Return integer milliseconds count
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
date.valueOf(integer);
Table Row (tr)
classlastDetailRow
Table Cell (td)