JavaScript setUTCFullYear

JavaScript setUTCFullYear function set the Year, Month, and Day Number of a specified date as per the universal time. The syntax of the setUTCFullYear Date function is: Date.setUTCFullYear(Year_Number, Month, Day_Number) In this JavaScript setUTCFullYear method, Month, and Day Number are optional arguments. JavaScript setUTCFullYear Function Example We use the setUTCFullYear function to set the current year … Read more