js 日期 var now = new Date(); var dates=['日','一','二','三','四','五','六']; document.write("<span style='color:#ff9'>"+ now.getFullYear()+"年"+(now.getMonth()+1)+"月"+now.getDate()+"日"+" 星期"+dates[now.getDay()]); 把学习一种技术一直坚持下去。