new Date();

var d = new Date();

document.write(d.getFullYear()); 


