- Set the starting time for counting execution time ->
Public Function set_start_time()
- Retrieve the execution time at the moment ->
Public Function get_execution_time()
The time is retrieved in seconds
From
Test.asp
- Initialize the class
<%@LANGUAGE="VBSCRIPT"%> <!--#include file="count_execution_time.class.asp"--> <% Dim time Set time = new count_execution_time
- Set the starting time
time.set_start_time()
- Retrieve the execution time
Response.write(time.get_execution_time()) %>