today=new Date();

y=today.getFullYear();

document.write(y);