<html>
<head>
<script type= text/javascript> function setClock()
{
var tNow,strTime,x;

tNow = new Date();

var x = new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六");
strTime=tNow.getFullYear() + "年" + (tNow.getMonth()+1) + "月" + tNow.getDate() + "日 " + tNow.getHours() + ":" + tNow.getMinutes() + ":" + tNow.getSeconds() + " " + x[tNow.getDay()];
//alert("success");
document.getElementById("currentTime").innerHTML=strTime;

   
window.setTimeout("setClock();",1000,"Javascript");
}    setClock();</script>
</head><body>
<table  id="show1" bgcolor= "#FFFFFF" height="54">
<tr id="b">
<td id="timeShow" name="timeShow" width="234" height="20" align=center >

<font color="blue" face="arial" id="currentTime" size="1"></font>
</td>
</tr>

</table>
</body>
</html>
我试了好多次,为什么就是不行呢?麻烦各位大虾帮忙指点一下!