Mega Code Archive
Categories
/
JavaScript Tutorial
/
Date
Date getUTCFullYear()
The getUTCFullYear() method returns the year as a full four-digit number converted to universal time. The following example uses the getUTCFullYear() Method to Return the Year
A Simple Page