时间怎么对不上??
var myDate= new Date();
var weekDay=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"];
document.write(myDate.getFullYear()+"年"+myDate.getMonth()+"月"+myDate.getDay()+"日"+" "+weekDay[myDate.getDay()]);
今天明明是2016/6/6
为啥代码输出的是2016/5/1?!!!!!