![Public Method Public Method](images/gg155243.pubmethod(en-us,winembedded.70).gif) |
Add |
Adds a specified time period to the current DateTime object, yielding a new DateTime object. |
![Public Method Public Method](images/gg155243.pubmethod(en-us,winembedded.70).gif) |
AddDays |
Adds a specified number of days to the current DateTime object. |
![Public Method Public Method](images/gg155243.pubmethod(en-us,winembedded.70).gif) |
AddHours |
Adds a specified number of hours to the current DateTime object. |
![Public Method Public Method](images/gg155243.pubmethod(en-us,winembedded.70).gif) |
AddMilliseconds |
Adds a specified number of milliseconds to the current DateTime object. |
![Public Method Public Method](images/gg155243.pubmethod(en-us,winembedded.70).gif) |
AddMinutes |
Adds a specified number of minutes to the current DateTime object. |
![Public Method Public Method](images/gg155243.pubmethod(en-us,winembedded.70).gif) |
AddSeconds |
Adds a specified number of seconds to the current DateTime object. |
![Public Method Public Method](images/gg155243.pubmethod(en-us,winembedded.70).gif) |
AddTicks |
Adds a specified number of ticks to the current DateTime object. |
![Static Static](images/dd181097.static(en-us,winembedded.10).gif) |
Compare |
Compares two date/time values in order to determine their relative value. |
![Public Method Public Method](images/gg155243.pubmethod(en-us,winembedded.70).gif) |
CompareTo |
Compares a specified date/time to this date/time instance in order to determine their relative value. |
![Static Static](images/dd181097.static(en-us,winembedded.10).gif) |
DaysInMonth |
Returns the number of days in a specified month of a specified year. |
![Public Method Public Method](images/gg155243.pubmethod(en-us,winembedded.70).gif) |
Equals |
Overloaded. Determines whether two DateTime objects have identical values. |
![Public Method Public Method](images/gg155243.pubmethod(en-us,winembedded.70).gif) |
GetHashCode |
(Inherited from Object.) |
![Public Method Public Method](images/gg155243.pubmethod(en-us,winembedded.70).gif) |
GetType |
(Inherited from Object.) |
![Static Static](images/dd181097.static(en-us,winembedded.10).gif) |
operator - |
Overloaded. Subtracts one DateTime object from another one, or subtracts a specified time period from a specified DateTime object. |
![Static Static](images/dd181097.static(en-us,winembedded.10).gif) |
operator != |
Determines whether two specified DateTime objects are not equal. |
![Static Static](images/dd181097.static(en-us,winembedded.10).gif) |
operator + |
Adds a specified period of time to a specified DateTime object, yielding a new DateTime object. |
![Static Static](images/dd181097.static(en-us,winembedded.10).gif) |
operator < |
Determines whether one DateTime object is less than another one. |
![Static Static](images/dd181097.static(en-us,winembedded.10).gif) |
operator <= |
Determines whether one DateTime is less than or equal to another one. |
![Static Static](images/dd181097.static(en-us,winembedded.10).gif) |
operator == |
Determines whether two specified DateTime objects have the same date/time value. |
![Static Static](images/dd181097.static(en-us,winembedded.10).gif) |
operator > |
Determines whether one DateTime object is greater than another one. |
![Static Static](images/dd181097.static(en-us,winembedded.10).gif) |
operator >= |
Determines whether one DateTime object is greater than or equal to another one. |
![Public Method Public Method](images/gg155243.pubmethod(en-us,winembedded.70).gif) |
ReferenceEquals |
(Inherited from Object.) |
![Static Static](images/dd181097.static(en-us,winembedded.10).gif) |
SpecifyKind |
Creates a new DateTime object that represents the same time as the specified DateTime, but is designated in either local time, Coordinated Universal Time (UTC), or neither, as indicated by the specified DateTimeKind value. |
![Public Method Public Method](images/gg155243.pubmethod(en-us,winembedded.70).gif) |
Subtract |
Overloaded. Subtracts either a time period or another DateTime object from the current DateTime object. |
![Public Method Public Method](images/gg155243.pubmethod(en-us,winembedded.70).gif) |
ToLocalTime |
Converts the current value of the current DateTime object to local time. |
![Public Method Public Method](images/gg155243.pubmethod(en-us,winembedded.70).gif) |
ToString |
Overloaded. Converts the value of the current DateTime object to its equivalent string representation. |
![Public Method Public Method](images/gg155243.pubmethod(en-us,winembedded.70).gif) |
ToUniversalTime |
Converts the value of the current DateTime object to Coordinated Universal Time (UTC). |