## TimeSpan::Duration method


Returns a new instance of [TimeSpan](../) object whose value is the absolute value of the current object.

```cpp
TimeSpan System::TimeSpan::Duration() const
```

## See Also

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