var currentYear= new Date().getFullYear();
new Date().getFullYear(); // This will get you the current year