Apr 26, 2024 19:19 Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients SampleSupported Clients
SmartClient
WebClient
NGClient
MobileClient
Methods Summary
Date
UTC(year, month)
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
Date
UTC(year, month, date)
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
Date
UTC(year, month, date, hrs)
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
Date
UTC(year, month, date, hrs, min)
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
Date
UTC(year, month, date, hrs, min, sec)
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
Date
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.
Number
getDate()
Gets the day of month.
Number
getDay()
Gets the day of the week (sunday = 0).
Number
getFullYear()
Gets the full year of the date.
Number
getHours()
Gets the hours of the date.
Number
getMilliseconds()
Gets the milliseconds of the date.
Number
getMinutes()
Gets the minutes of the date.
Number
getMonth()
Gets the month of the date.
Number
getSeconds()
Gets the seconds of the date.
Number
getTime()
The value returned by the getTime method is the number of milliseconds since 1 January 1970 00:00:00.
Number
getTimezoneOffset()
Gets the number of minutes between GMT and this date.
Number
getUTCDate()
Gets the UTC date.
Number
getUTCDay()
Gets the day in UTC time.
Number
getUTCFullYear()
Gets the full year in UTC time.
Number
getUTCHours()
Gets the hours in UTC time.
Number
getUTCMilliseconds()
Gets the milliseconds in UTC time.
Number
getUTCMinutes()
Gets the minutes in UTC time.
Number
getUTCMonth()
Gets the month in UTC time.
Number
getUTCSeconds()
Gets the seconds in UTC time.
Date
now()
Returns the milliseconds elapsed since 1 January 1970 00:00:00 UTC up until now.
Date
parse(String)
Takes a date string (such as "Dec 25, 1995") and returns the number of milliseconds since January 1, 1970, 00:00:00 UTC.
void
setDate(dayValue)
Sets the date.
void
setFullYear(yearValue)
Sets the full year of the date.
void
setFullYear(yearValue, monthValue)
Sets the full year of the date.
void
setFullYear(yearValue, monthValue, dayValue)
Sets the full year of the date.
void
setHours(hoursValue)
Sets the hours of the date.
void
setHours(hoursValue, minutesValue)
Sets the hours of the date.
void
setHours(hoursValue, minutesValue, secondsValue)
Sets the hours of the date.
void
setHours(hoursValue, minutesValue, secondsValue, msValue)
Sets the hours of the date.
void
setMilliseconds(millisecondsValue)
Sets the milliseconds of the date.
void
setMinutes(minutesValue)
Sets the minutes of the date.
void
setMinutes(minutesValue, secondsValue)
Sets the minutes of the date.
void
setMinutes(minutesValue, secondsValue, msValue)
Sets the minutes of the date.
void
setMonth(monthValue)
Sets the month of the date.
void
setMonth(monthValue, dayValue)
Sets the month of the date.
void
setSeconds(secondsValue)
Sets the seconds of the date.
void
setSeconds(secondsValue, msValue)
Sets the seconds of the date.
void
setTime(timeValue)
Sets the milliseconds of the date.
void
setUTCDate(dayValue)
Sets the UTC date.
void
setUTCFullYear(yearValue)
Sets the year in UTC time.
void
setUTCFullYear(yearValue, monthValue)
Sets the year in UTC time.
void
setUTCFullYear(yearValue, monthValue, dayValue)
Sets the year in UTC time.
void
setUTCHours(hoursValue)
Sets the hours in UTC time.
void
setUTCHours(hoursValue, minutesValue)
Sets the hours in UTC time.
void
setUTCHours(hoursValue, minutesValue, secondsValue)
Sets the hours in UTC time.
void
setUTCHours(hoursValue, minutesValue, secondsValue, msValue)
Sets the hours in UTC time.
void
setUTCMilliseconds(millisecondsValue)
Sets the milliseconds in UTC time.
void
setUTCMinutes(minutesValue)
Sets the minutes in UTC time.
void
setUTCMinutes(minutesValue, secondsValue)
Sets the minutes in UTC time.
void
setUTCMinutes(minutesValue, secondsValue, msValue)
Sets the minutes in UTC time.
void
setUTCMonth(monthValue)
Sets the month in UTC time.
void
setUTCMonth(monthValue, dayValue)
Sets the month in UTC time.
void
setUTCSeconds(secondsValue)
Sets the seconds in UTC time.
void
setUTCSeconds(secondsValue, msValue)
Sets the seconds in UTC time.
String
toDateString()
Returns a string version of the date.
String
toLocaleDateString()
Returns a string version of the local time zone of the date.
String
toLocaleString()
Returns a string version of the local time zone of the date.
String
toLocaleTimeString()
Returns a string version of the local time zone of the date.
String
toTimeString()
Returns a string version of the date.
String
toUTCString()
Returns a string version of the UTC value of the date.
Number
valueOf()
Return integer milliseconds count
Methods Details
UTC(year, month)
Number
year
A year after 1900.
Number
month
A number between 0 and 11.
// 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
UTC(year, month, date)
Number
year
A year after 1900.
Number
month
A number between 0 and 11.
Number
date
A number between 1 and 31.
// 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
UTC(year, month, date, hrs)
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.
// 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
UTC(year, month, date, hrs, min)
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.
// 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
UTC(year, month, date, hrs, min, sec)
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.
// 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
UTC(year, month, date, hrs, min, sec, ms)
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.
// 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
getDate()
date.getDate();
getDay()
date.getDay();
getFullYear()
date.getFullYear();
getHours()
date.getHours();
getMilliseconds()
date.getMilliseconds();
getMinutes()
date.getMinutes();
getMonth()
date.getMonth();
getSeconds()
date.getSeconds();
getTime()
date.getTime();
getTimezoneOffset()
date.getTimezoneOffset();
getUTCDate()
date.getUTCDate();
getUTCDay()
date.getUTCDay();
getUTCFullYear()
date.getUTCFullYear();
getUTCHours()
date.getUTCHours();
getUTCMilliseconds()
date.getUTCMilliseconds();
getUTCMinutes()
date.getUTCMinutes();
getUTCMonth()
date.getUTCMonth();
getUTCSeconds()
date.getUTCSeconds();
now()
var timestamp = Date.now();
parse(String)
String
var str = Date.parse("Wed, 09 Aug 1995 00:00:00 GMT");
application.output(str);
setDate(dayValue)
Number
dayValue
date.setDate(integer);
setFullYear(yearValue)
Number
yearValue
date.setFullYear(integer);
setFullYear(yearValue, monthValue)
Number
yearValue
Number
monthValue
date.setFullYear(integer);
setFullYear(yearValue, monthValue, dayValue)
Number
yearValue
Number
monthValue
Number
dayValue
date.setFullYear(integer);
setHours(hoursValue)
Number
hoursValue
date.setHours(integer);
setHours(hoursValue, minutesValue)
Number
hoursValue
Number
minutesValue
date.setHours(integer);
setHours(hoursValue, minutesValue, secondsValue)
Number
hoursValue
Number
minutesValue
Number
secondsValue
date.setHours(integer);
setHours(hoursValue, minutesValue, secondsValue, msValue)
Number
hoursValue
Number
minutesValue
Number
secondsValue
Number
msValue
date.setHours(integer);
setMilliseconds(millisecondsValue)
Number
millisecondsValue
date.setMilliseconds(integer);
setMinutes(minutesValue)
Number
minutesValue
date.setMinutes(integer);
setMinutes(minutesValue, secondsValue)
Number
minutesValue
Number
secondsValue
date.setMinutes(integer);
setMinutes(minutesValue, secondsValue, msValue)
Number
minutesValue
Number
secondsValue
Number
msValue
date.setMinutes(integer);
setMonth(monthValue)
Number
monthValue
date.setMonth(integr);
setMonth(monthValue, dayValue)
Number
monthValue
Number
dayValue
date.setMonth(integr);
setSeconds(secondsValue)
Number
secondsValue
date.setSeconds(integer);
setSeconds(secondsValue, msValue)
Number
secondsValue
Number
msValue
date.setSeconds(integer);
setTime(timeValue)
Number
timeValue
date.setTime(integer);
setUTCDate(dayValue)
Number
dayValue
date.setUTCDate(integer);
setUTCFullYear(yearValue)
Number
yearValue
date.setUTCFullYear(integer);
setUTCFullYear(yearValue, monthValue)
Number
yearValue
Number
monthValue
date.setUTCFullYear(integer);
setUTCFullYear(yearValue, monthValue, dayValue)
Number
yearValue
Number
monthValue
Number
dayValue
date.setUTCFullYear(integer);
setUTCHours(hoursValue)
Number
hoursValue
date.setUTCHours(integer);
setUTCHours(hoursValue, minutesValue)
Number
hoursValue
Number
minutesValue
date.setUTCHours(integer);
setUTCHours(hoursValue, minutesValue, secondsValue)
Number
hoursValue
Number
minutesValue
Number
secondsValue
date.setUTCHours(integer);
setUTCHours(hoursValue, minutesValue, secondsValue, msValue)
Number
hoursValue
Number
minutesValue
Number
secondsValue
Number
msValue
date.setUTCHours(integer);
setUTCMilliseconds(millisecondsValue)
Number
millisecondsValue
date.setUTCMilliseconds(integer);
setUTCMinutes(minutesValue)
Number
minutesValue
date.setUTCMinutes(integer);
setUTCMinutes(minutesValue, secondsValue)
Number
minutesValue
Number
secondsValue
date.setUTCMinutes(integer);
setUTCMinutes(minutesValue, secondsValue, msValue)
Number
minutesValue
Number
secondsValue
Number
msValue
date.setUTCMinutes(integer);
setUTCMonth(monthValue)
Number
monthValue
date.setUTCMonth(integer);
setUTCMonth(monthValue, dayValue)
Number
monthValue
Number
dayValue
date.setUTCMonth(integer);
setUTCSeconds(secondsValue)
Number
secondsValue
date.setUTCSeconds(integer);
setUTCSeconds(secondsValue, msValue)
Number
secondsValue
Number
msValue
date.setUTCSeconds(integer);
toDateString()
date.toDateString();
toLocaleDateString()
date.toLocaleDateString();
toLocaleString()
date.toLocaleString();
toLocaleTimeString()
date.toLocaleTimeString();
toTimeString()
date.toTimeString();
toUTCString()
date.toUTCString();
valueOf()
date.valueOf(integer);