var myDate = new Date();

document.write(myDate.getFullYear());
