Java Reference
In-Depth Information
Methods
Method
Introduced
Description
getDate()
JavaScript 1.0
Retrieves the date in the month
from the Date object.
getDay()
JavaScript 1.0
Retrieves the day of the week from
the Date object.
getFullYear()
JavaScript 1.3
Retrieves the full year from the
Date object.
getHours()
JavaScript 1.0
Retrieves the hour of the day from
the Date object.
getMilliseconds()
JavaScript 1.3
Retrieves the number of millisec-
onds from the Date object.
getMinutes()
JavaScript 1.0
Retrieves the number of minutes
from the Date object.
getMonth()
JavaScript 1.0
Retrieves the month from the Date
object.
getSeconds()
JavaScript 1.0
Retrieves the number of seconds
from the Date object.
getTime()
JavaScript 1.0
Retrieves the number of millisec-
onds since January 1 1970 00:00:00
from the Date object.
getTimezoneOffset()
JavaScript 1.0
Retrieves the difference in minutes
between the local time zone and
universal time (UTC).
getUTCDate()
JavaScript 1.3
Retrieves the date in the month
from the Date object adjusted to
universal time.
getUTCDay()
JavaScript 1.3
Retrieves the day of the week from
the Date object adjusted to univer-
sal time.
getUTCFullYear()
JavaScript 1.3
Retrieves the year from the Date
object adjusted to universal time.
getUTCHours()
JavaScript 1.3
Retrieves the hour of the day from
the Date object adjusted to univer-
sal time.
getUTCMilliseconds()
JavaScript 1.3
Retrieves the number of millisec-
onds from the Date object adjusted
to universal time.
Continued
Search WWH ::




Custom Search