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