html,本地系统时间
<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呢,为了选择位置来放,比如我是放在 html,本地系统时间
|