JavaScript getUTCFullYear Function

JavaScript getUTCFullYear function is a Date Function, which returns the year on a given date according to universal time. The syntax of the getUTCFullYear function is: Date.getUTCFullYear() JavaScript getUTCFullYear Function Example We use the getUTCFulYear to return the year from the current date and time. <!DOCTYPE html> <html> <head> <title> JS </title> </head> <body> <h1> … Read more