web 2.0

ASP/VBScript Timer()

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

ASP/VBScript & Timer()

.
.
.
Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (1 votes, average: 1.00 out of 10)
Loading ... Loading ...

One Response to “ASP/VBScript Timer()”

  1. 2suggest…

Leave a Reply

You must be logged in to post a comment.