Date.prototype.getUTCFullYear

Returns the year in a date using Universal Coordinated Time (UTC).

Syntax

getUTCFullYear()

Return value

A number representing the year of a Date, using UTC.