This class cannot be inherited.
Definition
public sealed class DateTime: Object, IComparable
Members Table
The following table lists the members exposed by the DateTime object. Click a tab on the left to choose the type of member you want to view.MethodsMethodDescriptionAddAddDaysAddHoursAddMillisecondsAddMinutesAddMonthsAddSecondsAddYearsCompareCompareToDateTimeInitializes a new instance of DateTime.DaysInMonthEqualsGetHashCodeGetTypeName(Inherited from Object)IsLeapYearMemberwiseClone(Inherited from Object)ReferenceEquals(Inherited from Object)SubstractToLocalTimeToLongDateStringToLongTimeStringToShortDateStringToShortTimeStringToStringToUniversalTimePropertiesPropertyDescriptionDateDayDayOfWeekDayOfYearHourMillisecondMinuteMonthNowSecondTicksDoubleTimeOfDayTodayUtcNowYearOperatorsOperatorDescriptionoperator !=operator +operator -operator <operator <=operator ==operator >operator >=FieldsFieldDescriptionMaxValueMinValue
The following table lists the members exposed by the DateTime object. Click a tab on the left to choose the type of member you want to view.
Methods
Properties
Operators
Fields
Inheritance Hierarchy
ObjectDateTime
Class Information
NamespaceSystemLibrarycorlib.sclLibrary Version1.0.0.1866