ASP.net VB Timers
- by Tom Gullen
I would like to be able to time a page load time in ASP.net (VBscript). Adding Trace="true" to the page directive is nice, but I need to actually time an event and store it in a variable.
In ASP it was easy with the Timer object, but in .net I can't find anything on Google.
I need something along the lines of:
Dim startTime
Dim endTime
startTime = now()
doBigFunction()
endTime = now()
response.write("That took " & endTime - startTime & " milliseconds")
Cheers!