This Databox reads from a System Values Databox that represents the current date and time and stores this in the Databox Keyfax.Timer started at the point that you wish to start timing.
Databox Creation
You will first need to create the System Values Databox as shown below...
The current date and time
Recording exactly when the timer started...
Calculating the difference using a SQL query
End Result
This can be demonstrated in a simple script comprising 3 steps. The first saves the current time, the second is a random question and the third displays a message showing the time spent.
Demonstrating how to use the timer
Here is the message...
The Message used in the above script
And the final output...
Message showing results of time spent in script
NOTE: The actual time spent in the script may be usefully returned to the host or calling application. The timer would normally be started in a Startup Script and the number of seconds could be returned to the host in a Results Script.