## TimeSpan::Add method


Returns a new instance of [TimeSpan](../) class that represents a time interval which is the sum of the time intervals represented by the current and the specified objects.

```cpp
TimeSpan System::TimeSpan::Add(TimeSpan value) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | TimeSpan | The [TimeSpan](../) object that represents the time interval to add |

### ReturnValue

A new instance of [TimeSpan](../) class that represents a time interval which is the sum of the time intervals represented by the current and the specified objects.

## See Also

* Class [TimeSpan](../)
* Class [TimeSpan](../)
* Namespace [System](../../)
* Library [Aspose.PUB for C++](../../../)
