Guardian Procedure Calls Reference Manual
minutes
output
INT:ref:1
returns the number of minutes in the interval of time (0 or greater).
seconds
output
INT:ref:1
returns the number of seconds in the interval of time (0 or greater).
milsecs
output
INT:ref:1
returns the number of milliseconds in the interval of time (0 or greater).
microsecs
output
INT:ref:1
returns the number of microseconds in the interval of time (0 or greater).
Returned Value
INT(32)
Either the number of days in the interval of time (0D or greater), or an error indication of -1D if
time is negative.
Example
FIXED START, FINISH;
INT(32) DAYS;
INT HRS;
INT MIN;
INT SEC;
.
.
DAYS := INTERPRETINTERVAL ( FINISH - START, HRS, MIN, SEC );
IF DAYS < 0D THEN ...
Related Programming Manual
For programming information about the INTERPRETINTERVAL procedure, see the Guardian
Programmer's Guide.
INTERPRETINTERVAL Procedure 731