This sample Rulesheet uses . addMonths in a Nonconditional rule to add 10 months 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. Notice the year portion of dateTime1 also changes accordingly.