DateTime.operator - Method

Windows Automotive 5.0/5.5
Subtracts one DateTime object from another one, or subtracts a specified time period from a specified DateTime object.

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.

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

Community Additions