DateTime addMonth (DateTime date, int months)
DateTime addMonth (DateTime date, int months)
Name | Type | Description |
---|---|---|
date | DateTime | A DateTime to add some amount of time to. |
months | int | The number of months to add to the DateTime. |
Type | Description |
---|---|
DateTime | A mew DateTime that results from adding the number of time units to the date argument. |