DateTime.operator - Method
Subtracts one DateTime object from another one, or subtracts a specified time period from a specified DateTime object.
Overload List
Name | Description |
---|---|
DateTime.operator - (DateTime, DateTime) | Subtracts one DateTime object from another one, yielding a specific period of time. |
DateTime.operator - (DateTime, TimeSpan) | Subtracts a specified period of time from a specified DateTime object, yielding a new DateTime object. |
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.