## TimeSpan::operator-= method


Assigns to the current object the time interval which is the result of subtraction of the time interval represented by the specified object from the time interval represented by the current object.

```cpp
TimeSpan & System::TimeSpan::operator-=(TimeSpan value)
```


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

### ReturnValue

A reference to the self

## See Also

* Class [TimeSpan](../)
* Class [TimeSpan](../)
* Namespace [System](../../)
* Library [Aspose.PUB for C++](../../../)
of the time interval represented by the specified object from the time interval represented by the current object.

## See Also

* Class [TimeSpan](../)
* Class [TimeSpan](../)
* Namespace [System](../../)
* Library [Aspose.PUB for C++](../../../)
## TimeSpan::operator-() const method


Returns a new instance of [TimeSpan](../) object that represents negated value represented by the current [TimeSpan](../) object.

```cpp
TimeSpan System::TimeSpan::operator-() const
```

## See Also

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