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 and the ending time as . If the stating time is greater then the ending time, the function will assume that the date changed once.
- Examples
- Static cStartTime
- Init Proc Startup
- cStartTime:=Time()
- Exit Proc StartExit
- ? "You used this program by",ELAPTIME(cStartTime,Time())
- Status
Ready
- Compliance
- This function is Ca-Clipper compliant
- Platforms
- All
- Files
- Library is rtl
- See Also