/

HTML / CSS / JavaScript Tutorial

JavaScript Date method: getUTCFullYears()

[this page | pdf | back links]

The getUTCFullYears() method (when applied to a JavaScript date) returns the UTC year.

 

It has the following syntax (with no parameters):

 

date.getUTCFullYears()

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript Dates


Desktop view | Switch to Mobile