var mydate= new Date()var theyear=mydate.getFullYear()document.write(theyear)
