## DateTime::operator-= method


将当前对象设置为从当前对象表示的日期时间值减去指定时间跨度后的日期时间值。

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


| Parameter | Type | 描述 |
| --- | --- | --- |
| value | TimeSpan | 要减去的时间跨度 |

### ReturnValue

对自身的引用

## 另见

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