## Calendar::AddMonths method


Adds months to time point.

```cpp
virtual DateTime System::Globalization::Calendar::AddMonths(DateTime time, int months) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| time | DateTime | Original time point value. |
| months | int | Number of months to add. |

### ReturnValue

Time point after calculation is done.

## See Also

* Class [DateTime](../../../system/datetime/)
* Class [Calendar](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Page for C++](../../../)
