<script></p> <p><br></p> <p> document.write((zjd=new Date()).getFullYear()+"年"+(zjd.getMonth()+1)+"月"+zjd.getDate() + "日 星期"+"日一二三四五六".charAt(zjd.getDay())+ " ");</p> <p><br></p> <p> </script>
<script></p> <p> setInterval(function(){</p> <p> var date = new Date()</p> <p> document.getElementById("currenttime").innerHTML = date.toLocaleTimeString();</p> <p>}, 1000);</p> <p> </script>