var copyright = new Date(); //取得当前的日期 var update = copyright.getFullYear(); //取得当前的年份 document.write(" ");