Mega Code Archive
Categories
/
JavaScript Tutorial
/
Date
Date() getFullYear()
The getFullYear() method returns the year in local time as a full four-digit number.
Combine Date Values