JavaScript 数字时钟代码 function Time(){ if (!document.layers&&!document.all) return var Timer=new Date() var hours=Timer.getHours() var minutes=Timer.getMinutes() var seconds=Timer.getSeconds() var noon="AM" if (hours>12){ noon="PM" hours=hours-12 } if (hours==0) hours=12 if (minutes
对我很有用哎~~谢谢!