VBScript TimerFunction


VBScript 参考手册Complete VBScript Reference Manual

The Timer function returns the number of seconds that have elapsed since 12:00 AM (midnight).

Syntax

Timer

Example

Example (IE only)

<script type="text/vbscript">

document.write("Number of seconds and milliseconds since 12:00 AM: ")
document.write(Timer)

</script>

Output of the above example:

document.write("Number of seconds and milliseconds since 12:00 AM: ") document.write(Timer)

Try it yourself »


VBScript 参考手册Complete VBScript Reference Manual Other Extensions