## DateTime::Add method


Returns a new instance of [DateTime](../) class that represents a date and time value that results from addition of the specified time span to the date and time value represented by the current object.

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


| Parameter | Type | Description |
| --- | --- | --- |
| value | TimeSpan | The time interval to add |

### ReturnValue

A new instance of [DateTime](../) class that represents a date and time value that results from addition of **tm** time span to the date and time value represented by the current object

## See Also

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