ASP/VBScript Timer() Returns the number of seconds that have elapsed since 12:00 AM (midnight).
ShotDev Focus:
- Using Asp and Timer() function.
Syntax
Timer()
The following example uses the Timer function to determine the time it takes to iterate a For…Next loop N times:
Example
asp_timer.asp
<% Option Explicit %> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <% Response.write Now()&"<br>" Response.write Timer()&"<br>" %> </body> </html>
Create a asp file and save to path root-path/myasp/
Run
http://localhost/myasp/asp_timer.asp
Screenshot
2suggest…
…