May 2011
Intermediate to advanced
1096 pages
40h 54m
English
Date.getYear() — return the year field of a Date
deprecated
date.getYear()
The year field of the specified Date object
date minus 1900.
getYear() returns the year
field of a specified Date object minus 1900. As of ECMAScript v3, it
is not required in conforming JavaScript implementations; use
getFullYear() instead.
Read now
Unlock full access