标签:
var today=new Date(); function itArray(){ this.length=itArray.arguments.length for(var i=0;i<this.length;i++) this[i+1]=itArray.arguments[i]} var d=new itArray("星期日","星期一","星期二","星期三","星期四","星期五","星期六"); document.write("您好,今天是:",today.getFullYear(),"年",today.getMonth()+1,"月",today.getDate(),"日 ",d[today.getDay()+1]);
标签:
原文地址:http://www.cnblogs.com/masterccc/p/5053090.html