DateTime Operators

 

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticAddition(DateTime, TimeSpan)

Adds a specified time interval to a specified date and time, yielding a new date and time.

System_CAPS_puboperatorSystem_CAPS_staticEquality(DateTime, DateTime)

Determines whether two specified instances of DateTime are equal.

System_CAPS_puboperatorSystem_CAPS_staticGreaterThan(DateTime, DateTime)

Determines whether one specified DateTime is later than another specified DateTime.

System_CAPS_puboperatorSystem_CAPS_staticGreaterThanOrEqual(DateTime, DateTime)

Determines whether one specified DateTime represents a date and time that is the same as or later than another specified DateTime.

System_CAPS_puboperatorSystem_CAPS_staticInequality(DateTime, DateTime)

Determines whether two specified instances of DateTime are not equal.

System_CAPS_puboperatorSystem_CAPS_staticLessThan(DateTime, DateTime)

Determines whether one specified DateTime is earlier than another specified DateTime.

System_CAPS_puboperatorSystem_CAPS_staticLessThanOrEqual(DateTime, DateTime)

Determines whether one specified DateTime represents a date and time that is the same as or earlier than another specified DateTime.

System_CAPS_puboperatorSystem_CAPS_staticSubtraction(DateTime, DateTime)

Subtracts a specified date and time from another specified date and time and returns a time interval.

System_CAPS_puboperatorSystem_CAPS_staticSubtraction(DateTime, TimeSpan)

Subtracts a specified time interval from a specified date and time and returns a new date and time.

Return to top
Show: