<script>
document.write("<span id=time></span>")
setInterval(function(){
with(new Date)
time.innerText=getYear()+"年"+(getMonth()+1)+"月"+getDate()+"日 星期"+
"日一二三五六". charAt(getDay())+""+getHours()+":"+getMinutes()+":"+getSeconds()
},1000)
</script>
详细解决方案
动态时间展示
热度:155 发布时间:2012-10-26 10:30:59.0
相关解决方案