<div id="box"></div><script>var o = document.getElementById("box");functionnewtime(){
var time =newDate;var a = time.getFullYear()//年var b = time.getMonth()+1;//月var c = time.getDate();//日var d = time
正计时器的用法当前时间:<div id="box"></div> <script> var o = document.getElementById("box"); function newtime() { var time = new Date; var a = tim...