AddMonths()
Calendar::AddMonths(DateTime, int) const method
Adds months to time point.
virtual DateTime System::Globalization::Calendar::AddMonths(DateTime time, int months) const
Arguments
| Parameter | Type | Description |
|---|---|---|
| time | DateTime | Original time point value. |
| months | int | Number of months to add. |
Return Value
Time point after calculation is done.
See Also
- Class DateTime
- Class Calendar
- Namespace System::Globalization
- Library Aspose.Slides