Java Reference
In-Depth Information
Methods (continued)
Method
Introduced
Description
getUTCMinutes()
JavaScript 1.3
Retrieves the number of minutes
from the Date object adjusted to
universal time.
getUTCMonth()
JavaScript 1.3
Retrieves the month from the Date
object adjusted to universal time.
getUTCSeconds()
JavaScript 1.3
Retrieves the number of seconds
from the Date object adjusted to
universal time.
getYear()
JavaScript 1.0
Retrieves the year from the Date
object.
parse(dateString)
JavaScript 1.0
Retrieves the number of millisec-
onds in a date since January 1 1970
00:00:00, local time.
setDate(dayOfMonth)
JavaScript 1.0
Sets the date in the month for the
Date object.
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.
setMonth(month [, day])
JavaScript 1.0
Sets the month for the Date object.
setSeconds(seconds
[, milliseconds])
JavaScript 1.0
Sets the number of seconds for the
Date object.
setTime(milliseconds)
JavaScript 1.0
Sets the time for the Date object
according to the number of mil-
liseconds since January 1 1970
00:00:00.
setUTCDate(dayOfMonth)
JavaScript 1.3
Sets the date in the month for
the Date object according to
universal time.
setUTCFullYear(year [, month,
day])
JavaScript 1.3
Sets the full year for the Date object
according to universal time.
Search WWH ::




Custom Search