JavaScript Obtenha o ano atual
var currentYear= new Date().getFullYear();
Grepper
var currentYear= new Date().getFullYear();
const todaysDate = new Date()
const currentYear = todaysDate.getFullYear()
// 2020