FT_ELAPMIN()
Return difference, in minutes, between two mil format times.
──────────────────────────────────────────────────────────────────────────────

Syntax

FT_ELAPMIN( <cTIME1>, <cTIME2> ) -> nMINUTES

Arguments

<cTIME1, cTIME2> character strings of military form "hhmm",
where 0<=hh<24.

Returns

<nMINUTES>

Description

Finds the arithmetic difference between time two times
(time 2 - time 1).
If time 2 is smaller than time 1, a NEGATIVE value is returned.

Examples

FT_ELAPMIN( "1718", "2040" ) -> 322
FT_ELAPMIN( "2040", "1718" ) -> -322

Source: ELAPMIL.PRG

Author: Alexander B. Spencer