Javascript SetUTCFullYear() Function

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

Javascript SetUTCFullYear Method Example

This will produce following result