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)