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-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information