Home | Top | Website design | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

JavaScript language references >>> Methods 2

Language Element
Description
getMilliseconds Method Returns the milliseconds value in a Date object using local time.
getMinutes Method Returns the minutes value stored in a Date object using local time.
getMonth Method Returns the month value in the Date object using local time.
getSeconds Method Returns seconds value stored in a Date object using local time.
getTime Method Returns the time value in a Date object.
getTimezoneOffset Method Returns the difference in minutes between the time on the host computer and Universal Coordinated Time (UTC).
getUTCDate Method Returns the date value in a Date object using Universal Coordinated Time (UTC).
getUTCDay Method Returns the day of the week value in a Date object using Universal Coordinated Time (UTC).
getUTCFullYear Method Returns the year value in a Date object using Universal Coordinated Time (UTC).
getUTCHours Method Returns the hours value in a Date object using Universal Coordinated Time (UTC).
getUTCMilliseconds Method Returns the milliseconds value in a Date object using Universal Coordinated Time (UTC).
getUTCMinutes Method Returns the minutes value in a Date object using Universal Coordinated Time (UTC).
getUTCMonth Method Returns the month value in a Date object using Universal Coordinated Time (UTC).
getUTCSeconds Method Returns the seconds value in a Date object using Universal Coordinated Time (UTC).
getVarDate Method Returns the VT_DATE value in a Date object.
getYear Method Returns the year value in a Date object.
indexOf Method Returns the character position where the first occurrence of a substring occurs within a String object.
isFinite Method Returns a Boolean value that indicates if a supplied number is finite.
isNaN Method Returns a Boolean value that indicates whether a value is the reserved value NaN (not a number).
italics Method Places HTML <I> tags around text in a String object.
item Method Returns the current item in the collection.
join Method Returns a String object consisting of all the elements of an array concatenated together.
lastIndexOf Method Returns the last occurrence of a substring within a String object.
lbound Method Returns the lowest index value used in the specified dimension of a VBArray.
link Method Places an HTML anchor with an HREF attribute around the text in a String object.
log Method Returns the natural logarithm of a number.
match Method Returns, as an array, the results of a search on a string using a supplied Regular Expression object.
max Method Returns the greater of two supplied numeric expressions.
min Method Returns the lesser of two supplied numbers.
moveFirst Method Resets the current item in the collection to the first item.
moveNext Method Moves the current item to the next item in the collection.
parse Method Parses a string containing a date, and returns the number of milliseconds between that date and midnight, January 1, 1970.
parseFloat Method Returns a floating-point number converted from a string.
parseInt Method Returns an integer converted from a string.
pow Method Returns the value of a base expression raised to a specified power.
random Method Returns a pseudorandom number between 0 and 1.
replace Method Returns a copy of a string with text replaced using a regular expression.
reverse Method Returns an Array object with the elements reversed.
round Method Returns a specified numeric expression rounded to the nearest integer.
search Method Returns the position of the first substring match in a regular expression search.
setDate Method Sets the numeric date of the Date object using local time.
setFullYear Method Sets the year value in the Date object using local time.
setHours Method Sets the hour value in the Date object using local time.
setMilliseconds Method Sets the milliseconds value in the Date object using local time.
setMinutes Method Sets the minutes value in the Date object using local time.
setMonth Method Sets the month value in the Date object using local time.
setSeconds Method Sets the seconds value in the Date object using local time.
setTime Method Sets the date and time value in the Date object.
setUTCDate Method Sets the numeric date in the Date object using Universal Coordinated Time (UTC).
setUTCFullYear Method Sets the year value in the Date object using Universal Coordinated Time (UTC).
setUTCHours Method Sets the hours value in the Date object using Universal Coordinated Time (UTC).
setUTCMilliseconds Method Sets the milliseconds value in the Date object using Universal Coordinated Time (UTC).
setUTCMinutes Method Sets the minutes value in the Date object using Universal Coordinated Time (UTC).
setUTCMonth Method Sets the month value in the Date object using Universal Coordinated Time (UTC).
setUTCSeconds Method Sets the seconds value in the Date object using Universal Coordinated Time (UTC).
setYear Method Sets the year value in the Date object.
sin Method Returns the sine of a number.
slice Method (Array) Returns a section of an array.
slice Method (String) Returns a section of a string.
small Method Places HTML <SMALL> tags around text in a String object.
sort Method Returns an Array object with the elements sorted.
split Method Returns the array of strings that results when a string is separated into substrings.
sqrt Method Returns the square root of a number.
strike Method Places HTML <STRIKE> tags around text in a String object.
sub Method Places HTML <SUB> tags around text in a String object.
substr Method Returns a substring beginning at a specified location and having a specified length.
substring Method Returns the substring at a specified location within a String object.
sup Method Places HTML <SUP> tags around text in a String object.
tan Method Returns the tangent of a number.
test Method Returns a Boolean value that indicates whether or not a pattern exists in a searched string.
toArray Method Returns a standard JavaScript array converted from a VBArray.
toGMTString Method Returns a date converted to a string using Greenwich Mean Time (GMT).
toLocaleString Method Returns a date converted to a string using the current locale.
toLowerCase Method Returns a string where all alphabetic characters have been converted to lowercase.
toString Method Returns a string representation of an object.
toUpperCase Method Returns a string where all alphabetic characters have been converted to uppercase.
toUTCString Method Returns a date converted to a string using Universal Coordinated Time (UTC).
ubound Method Returns the highest index value used in the specified dimension of the VBArray.
unescape Method Decodes String objects encoded with the escape method.
UTC Method Returns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the supplied date.
valueOf Method Returns the primitive value of the specified object.