//display current year 
document.write(new Date().getFullYear());