ADELIA |
VADELIA |
SADELIA |
WADELIA |
EADELIA |
(I/B) |
(I/B) |
(B) |
(I/B) |
(B) |
Warning: In the case of ADELIA programs, this function is not compatible with C generator.
Description
This predefined function is used to calculate the number of seconds between two given times.
Syntax
Result = &TIME_INTERVAL(Beginning time;End time)
Parameters
Description |
Contents |
Controls |
|
Result |
NUM_E or NUM_P type numeric variable of length <= 9 with 0 decimals. |
Number of seconds between the two times given as parameters. |
|
Beginning time |
TIME variable. |
Start time for the calculation. |
Mandatory parameter. |
End time |
TIME variable. |
End time for the calculation. |
Mandatory parameter. |
Note: The beginning time must be earlier than the end time, otherwise a negative result is produced.
Example
INTERVAL = &TIME_INTERVAL(TIME_VAR1;TIME_VAR2)
List of predefined functions by topic