Export (0) Print
Expand All

DateTimeOffset Operators

The DateTimeOffset type exposes the following members.

  NameDescription
Public operator Static member Addition Adds a specified time interval to a DateTimeOffset object that has a specified date and time, and yields a DateTimeOffset object that has new a date and time.
Public operator Static member Equality Determines whether two specified DateTimeOffset objects represent the same point in time.
Public operator Static member GreaterThan Determines whether one specified DateTimeOffset object is greater than (or later than) a second specified DateTimeOffset object.
Public operator Static member GreaterThanOrEqual Determines whether one specified DateTimeOffset object is greater than or equal to a second specified DateTimeOffset object.
Public operator Static member Implicit Defines an implicit conversion of a DateTime object to a DateTimeOffset object.
Public operator Static member Inequality Determines whether two specified DateTimeOffset objects refer to different points in time.
Public operator Static member LessThan Determines whether one specified DateTimeOffset object is less than a second specified DateTimeOffset object.
Public operator Static member LessThanOrEqual Determines whether one specified DateTimeOffset object is less than a second specified DateTimeOffset object.
Public operator Static member Subtraction Overloaded. Subtracts a specified DateTimeOffset or TimeSpan object from a DateTimeOffset object.
Top

Community Additions

ADD
Show:
© 2014 Microsoft