Java Reference
In-Depth Information
(continued)
Method
introduced
description
JavaScript 1.3
Retrieves the hour of the day from the
Date
object adjusted to universal time.
getUTCHours()
JavaScript 1.3
Retrieves the number of milliseconds from
the
Date
object adjusted to universal time.
getUTCMilliseconds()
JavaScript 1.3
Retrieves the number of minutes from the
Date
object adjusted to universal time.
getUTCMinutes()
JavaScript 1.3
Retrieves the month from the
Date
object
adjusted to universal time.
getUTCMonth()
JavaScript 1.3
Retrieves the number of seconds from the
Date
object adjusted to universal time.
getUTCSeconds()
JavaScript 1.0
Retrieves the year from the
Date
object.
getYear()
JavaScript 1.0
Retrieves the number of milliseconds in a
date since January 1, 1970 00:00:00, local
time.
parse(dateString)
JavaScript 1.0
Sets the date in the month for the
Date
object.
setDate(dayOfMonth)
setFullYear(year [,
month, day])
JavaScript 1.3
Sets the full year for the
Date
object.
setHours(hours [,
minutes, seconds,
milliseconds])
JavaScript 1.0
Sets the hour of the day for the
Date
object.
setMilliseconds
(milliseconds)
JavaScript 1.3
Sets the number of milliseconds for the
Date
object.
setMinutes(minutes [,
seconds, milliseconds])
JavaScript 1.0
Sets the number of minutes for the
Date
object.
JavaScript 1.0
Sets the month for the
Date
object.
setMonth(month [, day])
setSeconds(seconds [,
milliseconds])
JavaScript 1.0
Sets the number of seconds for the
Date
object.
JavaScript 1.0
Sets the time for the
Date
object according
to the number of milliseconds since January
1, 1970 00:00:00.
setTime(milliseconds)
JavaScript 1.3
Sets the date in the month for the
Date
object according to universal time.
setUTCDate(dayOfMonth)
setUTCFullYear(year [,
month, day])
JavaScript 1.3
Sets the full year for the
Date
object
according to universal time.