为啥除了年份其他的日期时间都跟电脑显示的不一样呢?
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>获得年份 </title>
<script type="text/javascript">
var mydate=new Date();
document.write("年份:"+mydate.getFullYear()+'<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()+'<br>');
</script>
</head>
<body>
</body>
</html>