## DateTime::operator-= method


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

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | TimeSpan | 要减去的时间跨度 |

### ReturnValue

对自身的引用

## 另见

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