VBScript Timer function
VBScript Timer
VBScript Timer() function returns the number of seconds and milliseconds since 12:00 AM.
Syntax :
Timer()
Example
<!DOCTYPE html> <html> <body> <script language="vbscript" type="text/vbscript"> document.write("Time is : " & Now() & "<br />") document.write("Timer is: " & Timer()) </script> </body> </html>
Output :
After running above script in IE we will get following output -
Current Time is : 9/22/2014 5:57:35 PM Timer is : 64655.51