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