skip to main content
Corticon Studio: Rule Language Guide : Rule operator details and examples : Add minutes
 

Try Corticon Now

Add minutes

SYNTAX

<DateTime>.addMinutes(<Integer>)
<Time>.addMinutes(<Integer>)

DESCRIPTION

Adds the number of minutes in <Integer> to the number of minutes in the Time portion of <DateTime> or <Time>.

USAGE RESTRICTIONS

The Operators row of the table in Summary Table of Vocabulary Usage Restriction applies. No special exceptions.

RULESHEET EXAMPLE

This sample Rulesheet uses the . addMinutes add 90 minutes to the value of dateTime2 and assign the result to dateTime1.

SAMPLE RULETEST

A sample Ruletest provides values of dateTime2 for three instances of Entity1. Input and Output panels are shown below.