ELAPTIME()
Calculates elapted time.
Syntax
ELAPTIME(<cStartTime>,<cEndTime>) --> cDiference
Arguments
<cStartTime> Start in time as a string format <cEndTime> End time as a string format
Returns
<cDiference> Difference between the times
Description
This function returns a string that shows the difference between the starting time represented as <cStartTime> and the ending time as <cEndTime>. If the stating time is greater then the ending time, the function will assume that the date changed once.
Examples
STATIC s_cStartTime INIT PROCEDURE Startup() s_cStartTime := Time() RETURN EXIT PROCEDURE StartExit() ? "You used this program by", ElapTime( s_cStartTime, Time() ) RETURN
Compliance
Clipper
Platforms
All
Files
Library is rtl
Seealso
SECS(), SECONDS(), TIME(), DAY()
Pingback: Harbour All Functions – E | Viva Clipper !
Pingback: Harbour Date & Time Functions | Viva Clipper !
Pingback: Harbour RG Summary | Viva Clipper !