<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Untitled Document</title>
<script type="text/javascript" >
function show()
{
var d= new Date();
alert(d);
document.getElementById("abc").innerHTML = d.getFullYear()+"年"+d.getMonth()+"月"+ d.getDay()+"日";
}</script>
</head><body>
<input type="button" onclick="show()" value="Click"/>
<p id="abc" ></p>
</body>
</html>弹出的对话框显示日期正常,是:Wed May 04 2011 18:52:54 GMT+0800
但是页面里显示的确实2011年4月3日,这是怎么回事?