parse()
Returns a string date value into how many milliseconds since 1/1-1970.
2.0 3.0 1.0
setDate()
Sets a new date into the Date object
2.0 3.0 1.0
setFullYear()
Sets a new year into the Date object
4.0 4.0 1.0
setHours()
Sets a new hour into the Date object. (0-23)
2.0 3.0 1.0
setMilliseconds()
Sets new milliseconds into the Date object. (0-999)
4.0 4.0 1.0
setMinutes()
Sets mew minutes hour into the Date object. (0-59)
2.0 3.0 1.0
setMonth()
Sets a new month into the Date object. (0-11)
2.0 3.0 1.0
setSeconds()
Sets new seconds into the Date object. (0-59)
2.0 3.0 1.0
setTime()
Sets milliseconds after 1/1-1970
2.0 3.0 1.0
setYear()
Sets a new year into the Date object
2.0 3.0 1.0
setUTCDate()
Sets The UTC date
4.0 4.0 1.0
setUTCDay()
Sets The UTC date
4.0 4.0 1.0
setUTCMonth()
Sets The UTC date
4.0 4.0 1.0
setUTCFullYear()
Sets The UTC date
4.0 4.0 1.0
setUTCHourc()
Sets The UTC date
4.0 4.0 1.0
setUTCMinutes()
Sets The UTC date
4.0 4.0 1.0
setUTCSeconds()
Sets The UTC date
4.0 4.0 1.0
setUTCMilliseconds()
Sets The UTC date
4.0 4.0 1.0
toGMTString()
Returns a string date value.
2.0 3.0 1.0
toLocaleString()
Returns a string date value.
2.0 3.0 1.0
toString()
Returns a string date value.
2.0 4.0 1.0
The Math object
Properties
Explanation
NN IE
ECMA
E
Returns the base of natural logarithms
2.0 3.0 1.0
LN2
Returns the natural logarithm of 2
2.0 3.0 1.0
LN10
Returns the natural logarithm of 10
2.0 3.0 1.0
LOG2E
Returns the base-2 logarithm of E
2.0 3.0 1.0
LOG10E
Returns the base-10 logarithm of E
2.0 3.0 1.0
PI
Returns PI
2.0 3.0 1.0
SQRT1_2
Returns the square root of 0.5
2.0 3.0 1.0
SQRT2
Returns the square root of 2
2.0 3.0 1.0
Methods
Explanation
NN IE
ECMA
abs()
Returns the absolute value a number
2.0 3.0 1.0
acos()
Returns the arccosine of a number
2.0 3.0 1.0
asin()
Returns the arcsine of a number
2.0 3.0 1.0
atan()
Returns the arctangent of a number
2.0 3.0 1.0
atan2()
Returns the angle from the x axis to a point
2.0 3.0 1.0
ceil()
Returns a the nearest whole number greater than or equal to the number
2.0 3.0 1.0
cos()
Returns the cosine of a number
2.0 3.0 1.0
exp()
Returns the base of logarithms raised to a power
2.0 3.0 1.0
|
|