为什么显示的日期跟我的不一样额?
var mydate=new Date();
var myyear=mydate.getFullYear();
document.write("年份:"+myyear+'<br>');
document.write('月:'+mydate.getMonth()+'<br>');
document.write('日:'+mydate.getDay()+'<br>');
document.write('时:'+mydate.getHours()+'<br>');
document.write('分:'+mydate.getMinutes()+'<br>');
document.write('秒:'+mydate.getSeconds());
获得的日期时8月4号,可是今天是九月份啊