Export (0) Print
Expand All

DateTime Methods

.NET Micro Framework 3.0

NameDescription
Public MethodAddAdds a specified time period to the current DateTime object, yielding a new DateTime object.
Public MethodAddDaysAdds a specified number of days to the current DateTime object.
Public MethodAddHours Adds a specified number of hours to the current DateTime object.
Public MethodAddMilliseconds Adds a specified number of milliseconds to the current DateTime object.
Public MethodAddMinutes Adds a specified number of minutes to the current DateTime object.
Public MethodAddSeconds Adds a specified number of seconds to the current DateTime object.
Public MethodAddTicks Adds a specified number of ticks to the current DateTime object.
Public Method StaticCompareCompares two date/time values in order to determine their relative value.
Public MethodCompareToCompares a specified date/time to this date/time instance in order to determine their relative value.
Public Method StaticDaysInMonthReturns the number of days in a specified month of a specified year.
Public MethodEqualsOverloaded. Determines whether two DateTime objects have identical values.
Public MethodGetHashCode (Inherited from Object.)
Public MethodGetType (Inherited from Object.)
Public Method Staticoperator -Overloaded. Subtracts one DateTime object from another one, or subtracts a specified time period from a specified DateTime object.
Public Method Staticoperator !=Determines whether two specified DateTime objects are not equal.
Public Method Staticoperator +Adds a specified period of time to a specified DateTime object, yielding a new DateTime object.
Public Method Staticoperator <Determines whether one DateTime object is less than another one.
Public Method Staticoperator <=Determines whether one DateTime is less than or equal to another one.
Public Method Staticoperator ==Determines whether two specified DateTime objects have the same date/time value.
Public Method Staticoperator >Determines whether one DateTime object is greater than another one.
Public Method Staticoperator >=Determines whether one DateTime object is greater than or equal to another one.
Public MethodReferenceEquals (Inherited from Object.)
Public Method StaticSpecifyKind 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 MethodSubtractOverloaded. Subtracts either a time period or another DateTime object from the current DateTime object.
Public MethodToLocalTimeConverts the current value of the current DateTime object to local time.
Public MethodToStringOverloaded. Converts the value of the current DateTime object to its equivalent string representation.
Public MethodToUniversalTime Converts the value of the current DateTime object to Coordinated Universal Time (UTC).

Community Additions

ADD
Show:
© 2014 Microsoft