2 points

How to Get Current Year in Javascript


PHOTO EMBED

Saved by @mishka #javascript

var d = new Date();
var n = d.getFullYear();
content_copyCOPY

https://www.w3schools.com/jsref/jsref_getfullyear.asp