JavaScript Date getUTCFullYear()
JavaScript Date getUTCFullYear()
The getUTCFullYear() method is used to return the year of date according to UTC and in four digits.
Syntax:-
Its syntax is:- Date.getUTCFullYear()
Return:-
Its return is:- year of date in four digits