Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
All Functions
Now Function
Time Function
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-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information