SYNTAX

<DateTime>.addDays(<Integer>)

<Date>.addDays(<Integer>)

Adds the number of days in <Integer> to the number of days in <DateTime> or <Date>.

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

This sample Rulesheet uses .addDays to add 45 days to the value of dateTime2 and assign the result to dateTime1.

A sample Ruletest provides values of dateTime2 for three instances of Entity1. Input and Output panels are shown below. Notice the month portion of dateTime1 also changes accordingly.