getFullYear()
The current year as a four digit number.
This function will return the current year as a four digit number for the specified Date object.
Examples