Features
      Ask DevGuru
      ASP Resources
      Find the Bug
      Knowledge Base
      Links
      Tips of the Week
      Tutorials
  Products
      dgCalendar
      dgCharge New!
      dgChart New!
      dgFileUpload
      dgReport New!
      dgSort
      dgTree
  Site
      Authoring
      Coming Soon
      DevGuru Resume
      Link to Us
      Merchandise
      Sponsorships
      Testimonials
      What's New
  Technologies
      ADO 2.6
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      Transact-SQL Syntax
      VBScript
      WML
      WMLScript
      WSH
      XML DOM

              











FUNCTION:  Timer

Implemented in version 5.0
 
Timer
 
The Timer function returns the number of seconds that have passed since midnight (12:00:00 AM).
 
Timer keeps track of the seconds to at least seven decimal places of accuracy. So, you can use Timer as a "stop watch" to find the start and finish times of an operation. Then simply display the difference to find the elapsed time. However, for very short elapsed time periods, the difference may displayed as zero.
 
Code:
<% =Now %>
<% =Timer %>

 
Output:

10/27/99 2:14:36 PM
51276.99


Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information