Asked by rwniceing
at 2024-08-26 03:57:24
Point:500 Replies:3 POST_ID:829202USER_ID:12079
Topic:
Active Server Pages (ASP);;JavaScript
Dear Exerts,
I try to extract the total execution time of the for loop in the following asp code
and since vbscript is not doing well with miilli-second extraction, so I use javascript code
for extracting time in ms from start and ending of for loop.
Now the code is working, it show the Start and End time. But how to
do substraction on start-time - end time ?
I tried put the end-time javascript right after <% %> similar code to the start time javascript code. But it showed the wrong result that is why I put into head tag for end time javascript code.
Any better approach for doing that ?
Please advise
Rwniceing
I try to extract the total execution time of the for loop in the following asp code
and since vbscript is not doing well with miilli-second extraction, so I use javascript code
for extracting time in ms from start and ending of for loop.
Now the code is working, it show the Start and End time. But how to
do substraction on start-time - end time ?
I tried put the end-time javascript right after <% %> similar code to the start time javascript code. But it showed the wrong result that is why I put into head tag for end time javascript code.
Any better approach for doing that ?
Please advise
Rwniceing