求网页显示时间的代码,时间能不断更新的,小时,分钟,秒,这样显示出来
求网页显示时间的代码,时间能不断更新的,小时,分钟,秒,这样显示出来
求网页显示时间的代码,时间能不断更新的,小时,分钟,秒,这样显示出来
没有见过
用
FLASH能实现
网页的没有见过
只知道获取时间的函数
<script language="vbscript">
Dim MyVar
MyVar = time
h=hour(time)
m=minute(time)
s=second(time)
msgbox h
msgbox m
msgbox s
</script>
windzjp给的是最好的。。
s = now.getSeconds()+1; //得到秒
这个地方不对,+1是为了测试用的,使用时要去掉,忘了去了,不好意思
应该是:
s = now.getSeconds(); //得到秒
我晕,广告也写错了!!
lastidea.net