JavaScript Obtenha o ano atual
var currentYear= new Date().getFullYear();
Grepper
var currentYear= new Date().getFullYear();
let today = new Date().toLocaleDateString()
console.log(today)
new Date().getFullYear()