Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClient

servoy sSummary12%30%58%height: 30px;3Methods SummaryTakes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.Gets the day of month.Gets the day of the week (sunday = 0).Gets the full year of the date.Gets the hours of the date.Gets the milliseconds of the date.Gets the minutes of the date.Gets the month of the date.Gets the seconds of the date.The value returned by the getTime method is the number of milliseconds since 1 January 1970 00:00:00.Gets the number of minutes between GMT and this date.Gets the UTC date.Gets the day in UTC time.Gets the full year in UTC time.Gets the hours in UTC time.Gets the milliseconds in UTC time.Gets the minutes in UTC time.Gets the month in UTC time.Gets the seconds in UTC time.Returns the milliseconds elapsed since 1 January 1970 00:00:00 UTC up until now.Takes a date string (such as "Dec 25, 1995") and returns the number of milliseconds since January 1, 1970, 00:00:00 UTC.voidSets the date.voidSets the full year of the date.voidSets the full year of the date.voidSets the full year of the date.voidSets the hours of the date.voidSets the hours of the date.voidSets the hours of the date.voidSets the hours of the date.voidSets the milliseconds of the date.voidSets the minutes of the date.voidSets the minutes of the date.voidSets the minutes of the date.voidSets the month of the date.voidSets the month of the date.voidSets the seconds of the date.voidSets the seconds of the date.voidSets the milliseconds of the date.voidSets the UTC date.voidSets the year in UTC time.voidSets the year in UTC time.voidSets the year in UTC time.voidSets the hours in UTC time.voidSets the hours in UTC time.voidSets the hours in UTC time.voidSets the hours in UTC time.voidSets the milliseconds in UTC time.voidSets the minutes in UTC time.voidSets the minutes in UTC time.voidSets the minutes in UTC time.voidSets the month in UTC time.voidSets the month in UTC time.voidSets the seconds in UTC time.voidSets the seconds in UTC time.Returns a string version of the date.Returns a string version of the UTC value of the date.Returns a string version of the local time zone of the date.Returns a string version of the local time zone of the date.Returns a string version of the local time zone of the date.Returns a string version of the date.Returns a string version of the UTC value of the date.Return integer milliseconds count

functionservoy sDetail2100%height:30px2Methods DetailsUTCname

UTC(year, month)

dessIndent
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
prs

Parameters

sIndentyearA year after 1900.monthA number between 0 and 11.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRowUTCname

UTC(year, month, date)

dessIndent
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
prs

Parameters

sIndentyearA year after 1900.monthA number between 0 and 11.dateA number between 1 and 31.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
UTCname

UTC(year, month, date, hrs)

dessIndent
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
prs

Parameters

sIndentyearA year after 1900.monthA number between 0 and 11.dateA number between 1 and 31.hrsA number between 0 and 23.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
UTCname

UTC(year, month, date, hrs, min)

dessIndent
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
prs

Parameters

sIndentyearA year after 1900.monthA number between 0 and 11.dateA number between 1 and 31.hrsA number between 0 and 23.minA number between 0 and 59.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
UTCname

UTC(year, month, date, hrs, min, sec)

dessIndent
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
prs

Parameters

sIndentyearA year after 1900.monthA number between 0 and 11.dateA number between 1 and 31.hrsA number between 0 and 23.minA number between 0 and 59.secA number between 0 and 59.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
UTCname

UTC(year, month, date, hrs, min, sec, ms)

dessIndent
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
prs

Parameters

sIndentyearA year after 1900.monthA number between 0 and 11.dateA number between 1 and 31.hrsA number between 0 and 23.minA number between 0 and 59.secA number between 0 and 59.msA number between 0 and 999.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
getDatename

getDate()

dessIndent
Gets the day of month.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
getDayname

getDay()

dessIndent
Gets the day of the week (sunday = 0).
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
getFullYearname

getFullYear()

dessIndent
Gets the full year of the date.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
getHoursname

getHours()

dessIndent
Gets the hours of the date.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
getMillisecondsname

getMilliseconds()

dessIndent
Gets the milliseconds of the date.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
getMinutesname

getMinutes()

dessIndent
Gets the minutes of the date.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
getMonthname

getMonth()

dessIndent
Gets the month of the date.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
getSecondsname

getSeconds()

dessIndent
Gets the seconds of the date.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
getTimename

getTime()

dessIndent
The value returned by the getTime method is the number of milliseconds since 1 January 1970 00:00:00.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
getTimezoneOffsetname

getTimezoneOffset()

dessIndent
Gets the number of minutes between GMT and this date.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
getUTCDatename

getUTCDate()

dessIndent
Gets the UTC date.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
getUTCDayname

getUTCDay()

dessIndent
Gets the day in UTC time.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
getUTCFullYearname

getUTCFullYear()

dessIndent
Gets the full year in UTC time.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
getUTCHoursname

getUTCHours()

dessIndent
Gets the hours in UTC time.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
getUTCMillisecondsname

getUTCMilliseconds()

dessIndent
Gets the milliseconds in UTC time.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
getUTCMinutesname

getUTCMinutes()

dessIndent
Gets the minutes in UTC time.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
getUTCMonthname

getUTCMonth()

dessIndent
Gets the month in UTC time.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
getUTCSecondsname

getUTCSeconds()

dessIndent
Gets the seconds in UTC time.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
nowname

now()

dessIndent
Returns the milliseconds elapsed since 1 January 1970 00:00:00 UTC up until now.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
parsename

parse(s)

dessIndent
Takes a date string (such as "Dec 25, 1995") and returns the number of milliseconds since January 1, 1970, 00:00:00 UTC.
prs

Parameters

sIndentsThe date string to parse
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setDatename

setDate(dayValue)

dessIndent
Sets the date.
prs

Parameters

sIndentdayValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setFullYearname

setFullYear(yearValue)

dessIndent
Sets the full year of the date.
prs

Parameters

sIndentyearValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setFullYearname

setFullYear(yearValue, monthValue)

dessIndent
Sets the full year of the date.
prs

Parameters

sIndentyearValue ;monthValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setFullYearname

setFullYear(yearValue, monthValue, dayValue)

dessIndent
Sets the full year of the date.
prs

Parameters

sIndentyearValue ;monthValue ;dayValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setHoursname

setHours(hoursValue)

dessIndent
Sets the hours of the date.
prs

Parameters

sIndenthoursValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setHoursname

setHours(hoursValue, minutesValue)

dessIndent
Sets the hours of the date.
prs

Parameters

sIndenthoursValue ;minutesValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setHoursname

setHours(hoursValue, minutesValue, secondsValue)

dessIndent
Sets the hours of the date.
prs

Parameters

sIndenthoursValue ;minutesValue ;secondsValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setHoursname

setHours(hoursValue, minutesValue, secondsValue, msValue)

dessIndent
Sets the hours of the date.
prs

Parameters

sIndenthoursValue ;minutesValue ;secondsValue ;msValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setMillisecondsname

setMilliseconds(millisecondsValue)

dessIndent
Sets the milliseconds of the date.
prs

Parameters

sIndentmillisecondsValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setMinutesname

setMinutes(minutesValue)

dessIndent
Sets the minutes of the date.
prs

Parameters

sIndentminutesValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setMinutesname

setMinutes(minutesValue, secondsValue)

dessIndent
Sets the minutes of the date.
prs

Parameters

sIndentminutesValue ;secondsValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setMinutesname

setMinutes(minutesValue, secondsValue, msValue)

dessIndent
Sets the minutes of the date.
prs

Parameters

sIndentminutesValue ;secondsValue ;msValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setMonthname

setMonth(monthValue)

dessIndent
Sets the month of the date.
prs

Parameters

sIndentmonthValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setMonthname

setMonth(monthValue, dayValue)

dessIndent
Sets the month of the date.
prs

Parameters

sIndentmonthValue ;dayValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setSecondsname

setSeconds(secondsValue)

dessIndent
Sets the seconds of the date.
prs

Parameters

sIndentsecondsValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setSecondsname

setSeconds(secondsValue, msValue)

dessIndent
Sets the seconds of the date.
prs

Parameters

sIndentsecondsValue ;msValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setTimename

setTime(timeValue)

dessIndent
Sets the milliseconds of the date.
prs

Parameters

sIndenttimeValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setUTCDatename

setUTCDate(dayValue)

dessIndent
Sets the UTC date.
prs

Parameters

sIndentdayValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setUTCFullYearname

setUTCFullYear(yearValue)

dessIndent
Sets the year in UTC time.
prs

Parameters

sIndentyearValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setUTCFullYearname

setUTCFullYear(yearValue, monthValue)

dessIndent
Sets the year in UTC time.
prs

Parameters

sIndentyearValue ;monthValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setUTCFullYearname

setUTCFullYear(yearValue, monthValue, dayValue)

dessIndent
Sets the year in UTC time.
prs

Parameters

sIndentyearValue ;monthValue ;dayValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setUTCHoursname

setUTCHours(hoursValue)

dessIndent
Sets the hours in UTC time.
prs

Parameters

sIndenthoursValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setUTCHoursname

setUTCHours(hoursValue, minutesValue)

dessIndent
Sets the hours in UTC time.
prs

Parameters

sIndenthoursValue ;minutesValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setUTCHoursname

setUTCHours(hoursValue, minutesValue, secondsValue)

dessIndent
Sets the hours in UTC time.
prs

Parameters

sIndenthoursValue ;minutesValue ;secondsValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setUTCHoursname

setUTCHours(hoursValue, minutesValue, secondsValue, msValue)

dessIndent
Sets the hours in UTC time.
prs

Parameters

sIndenthoursValue ;minutesValue ;secondsValue ;msValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setUTCMillisecondsname

setUTCMilliseconds(millisecondsValue)

dessIndent
Sets the milliseconds in UTC time.
prs

Parameters

sIndentmillisecondsValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setUTCMinutesname

setUTCMinutes(minutesValue)

dessIndent
Sets the minutes in UTC time.
prs

Parameters

sIndentminutesValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setUTCMinutesname

setUTCMinutes(minutesValue, secondsValue)

dessIndent
Sets the minutes in UTC time.
prs

Parameters

sIndentminutesValue ;secondsValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setUTCMinutesname

setUTCMinutes(minutesValue, secondsValue, msValue)

dessIndent
Sets the minutes in UTC time.
prs

Parameters

sIndentminutesValue ;secondsValue ;msValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setUTCMonthname

setUTCMonth(monthValue)

dessIndent
Sets the month in UTC time.
prs

Parameters

sIndentmonthValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setUTCMonthname

setUTCMonth(monthValue, dayValue)

dessIndent
Sets the month in UTC time.
prs

Parameters

sIndentmonthValue ;dayValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setUTCSecondsname

setUTCSeconds(secondsValue)

dessIndent
Sets the seconds in UTC time.
prs

Parameters

sIndentsecondsValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
setUTCSecondsname

setUTCSeconds(secondsValue, msValue)

dessIndent
Sets the seconds in UTC time.
prs

Parameters

sIndentsecondsValue ;msValue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
toDateStringname

toDateString()

dessIndent
Returns a string version of the date.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
toISOStringname

toISOString()

dessIndent
Returns a string version of the UTC value of the date.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
toLocaleDateStringname

toLocaleDateString()

dessIndent
Returns a string version of the local time zone of the date.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
toLocaleStringname

toLocaleString()

dessIndent
Returns a string version of the local time zone of the date.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
toLocaleTimeStringname

toLocaleTimeString()

dessIndent
Returns a string version of the local time zone of the date.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
toTimeStringname

toTimeString()

dessIndent
Returns a string version of the date.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
toUTCStringname

toUTCString()

dessIndent
Returns a string version of the UTC value of the date.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
valueOfname

valueOf()

dessIndent
Return integer milliseconds count
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow