Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 263
Chapter 2 Program Instructions
TIMEDIFF
Field of Application
Function returning the difference between two speci ed moments of
time in number of seconds.
Syntax TIMEDIFF(<sexp
1
>,<sexp
2
>)
<sexp
1
> is one of two moments of time (time 1).
<sexp
2
> is the other of the two moments (time 2).
Remarks
To get the result as a positive value, the two moments of time, for
which the difference is to be calculated, should be entered with the
earlier moment (time 1) rst and the later moment (time 2) last, see
the rst example below.
If the later moment (time 2) is entered rst, the resulting value will be
negative, see the second example below.
The time should be entered according to the format for the TIME$ variable,
that is in the order HHMMSS, where:
HH = Hour Two digits (00-23)
MM = Minute Two digits (00-59)
SS = Second Two digits (00-59)
Time is entered as a 24-hour cycle, for example 8 oclock pm is entered
as "200000".
The resulting difference in seconds will be returned.
Examples
PRINT TIMEDIFF ("133050","133120")
yields:
30
PRINT TIMEDIFF ("133120","133050")
yields:
-30