AddYears()
DateTimeOffset::AddYears(int) const method
Adds a specified number of years to the DateTimeOffset object.
DateTimeOffset System::DateTimeOffset::AddYears(int years) const
Arguments
Parameter | Type | Description |
---|---|---|
years | int | Positive or negative number of years. |
Return Value
Result of operation.
See Also
- Class DateTimeOffset
- Namespace System
- Library Aspose.Slides