Print Page | Close Window

This page was generated in 0.0469 seconds

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=1049
Printed Date: 28 March 2026 at 11:07pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: This page was generated in 0.0469 seconds
Posted By: fernan82
Subject: This page was generated in 0.0469 seconds
Date Posted: 15 March 2003 at 9:09pm

I've been trying to add that to my site's main page using the same code -borg- uses on the forum and i get "This page was generated in 83,209.9400 Seconds"  ..........this is the code i'm  using:

Response.Write "This page was generated in " & FormatNumber(Timer() - dblStartTime, 4) & " Seconds"

how come it works fine on the forum and not on my site's homepage? and what can i do to get it to work?



-------------
FeRnAN
http://www.danasoft.com/">



Replies:
Posted By: Nigelo
Date Posted: 16 March 2003 at 5:36am

As TimeTaken (assuming this is behind "Timer") is expressed in milliseconds, looks like you may have multiplied the result by 1,000 instead of dividing by 1,000.

Then again, maybe your Server needs a little more horsepower! 



-------------
Hope this helps
Nigel


Posted By: vdub
Date Posted: 16 March 2003 at 11:28am

Your only ending the timer there.

You need to start the timer at the top of the page.



Posted By: fernan82
Date Posted: 16 March 2003 at 2:09pm
Thanks vdub.....got it.

-------------
FeRnAN
http://www.danasoft.com/">


Posted By: vdub
Date Posted: 16 March 2003 at 4:17pm

Cool

 




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net