Timer
VBScript Timer 函数
Timer 函数返回午夜 12 时(12:00 AM)以后已经过去的秒数。
语法
Timer
实例
实例(仅适用于 IE)
<script type="text/vbscript">
document.write("Number of seconds and milliseconds since 12:00 AM: ")
document.write(Timer)
</script>
document.write("Number of seconds and milliseconds since 12:00 AM: ")
document.write(Timer)
</script>
以上实例输出结果:
document.write("Number of seconds and milliseconds since 12:00 AM: ")
document.write(Timer)