rollMonth()

Adds the specified (signed) amount to the Month field, without changing larger fields.

Syntax

Calendar rollMonth(Numeric amount)
  1. amount is the signed amount to add to the Month field.

Usage

Other fields, such as Day of Month might conflict and need to be changed. For example, rolling the month on the date 01/31/96 will result in 02/29/96.