The setUTCFullYear() function of date object sets year for specified date as per the universal time. Use it for example to sets year for specified date.
Syntax
This will produce following result