Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DateTime Operators

The DateTime type exposes the following members.

  NameDescription
Public operator Static member Supported by the .NET Compact Framework Supported by the XNA Framework Addition Adds a specified time interval to a specified date and time, yielding a new date and time.
Public operator Static member Supported by the .NET Compact Framework Supported by the XNA Framework Equality Determines whether two specified instances of DateTime are equal.
Public operator Static member Supported by the .NET Compact Framework Supported by the XNA Framework GreaterThan Determines whether one specified DateTime is greater than another specified DateTime.
Public operator Static member Supported by the .NET Compact Framework Supported by the XNA Framework GreaterThanOrEqual Determines whether one specified DateTime is greater than or equal to another specified DateTime.
Public operator Static member Supported by the .NET Compact Framework Supported by the XNA Framework Inequality Determines whether two specified instances of DateTime are not equal.
Public operator Static member Supported by the .NET Compact Framework Supported by the XNA Framework LessThan Determines whether one specified DateTime is less than another specified DateTime.
Public operator Static member Supported by the .NET Compact Framework Supported by the XNA Framework LessThanOrEqual Determines whether one specified DateTime is less than or equal to another specified DateTime.
Public operator Static member Supported by the .NET Compact Framework Supported by the XNA Framework Subtraction Overloaded. Subtracts a specified DateTime or TimeSpan from a specified DateTime.
Top

Community Additions

ADD
Show:
© 2015 Microsoft