## DateTimeOffset::operator+ method


Returns a new instance of [DateTimeOffset](../) class that represents the date and time value that is the sum of the value represented by the current object and the specified time span.

```cpp
DateTimeOffset System::DateTimeOffset::operator+(TimeSpan value) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | TimeSpan | The time span to add to the value represented by the current object |

### ReturnValue

A new instance of [DateTimeOffset](../) class that represents the date and time value that is the sum of the value represented by the current object and **value**.

## See Also

* Class [DateTimeOffset](../)
* Class [TimeSpan](../../timespan/)
* Class [DateTimeOffset](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
