var d = new Date();
document.write(d.getYear());