復制代碼代碼如下:
<div id="名稱">
<script language=Javascript>
var now=new Date()
document.write(1900+now.getYear()+"-"+(now.getMonth()+1)+"-"+now.getDate()+" "+now.getHours()+":"+now.getMinutes()+":"+now.getSeconds())
</script>
</div>
為什麼用div呢,為了選擇位置來放,比如我是放在