CALCTIME

Usage

TIBCO iProcess Workspace (Browser)

TIBCO iProcess Workspace (Windows)

Performs a calculation on a time and returns a new time.

Syntax

CALCTIME (timein, hours, minutes, daysover)

where:

timein is the time the calculation is to be performed on.
hours and minutes are numeric values (positive or negative) which are added to timein.
daysover is the name of a numeric field which returns with the number of days overflowed from the calculation.
Note: The calculation is performed according to the current working days configuration.

Returns

time

Examples

TIBCO iProcess Modeler:

CALCTIME (#12:00#, 2, 40, daysover) 

returns 14:40 (daysover field = 0).

CALCTIME (#13:35#, 12, 0, daysover) 

returns 01:35 (daysover field = 1).

TIBCO Business Studio:

IPEDateTimeUtil.CALCTIME("12:00",2,40,daysover);
IPEDateTimeUtil.CALCTIME("13:35",12,0,daysover);