var theDate=new Date();document.write(theDate.getFullYear());