The members of System.DateTime are listed below.
See Also: Inherited members from System.ValueType
| Constructs and initializes a new instance of the DateTime structure with the date and time expressed in 100-nanosecond units. | ||
| Documentation for this section has not yet been entered. | ||
| Constructs and initializes a new instance of the DateTime structure with a specified year, month, and day. | ||
| Documentation for this section has not yet been entered. | ||
| Constructs and initializes a new instance of the DateTime structure with a specified year, month, day, hour, minute, and second. | ||
| Documentation for this section has not yet been entered. | ||
| Documentation for this section has not yet been entered. | ||
| Constructs and initializes a new instance of the DateTime structure with a specified year, month, day, hour, minute, second, and millisecond. | ||
| Documentation for this section has not yet been entered. | ||
| Documentation for this section has not yet been entered. | ||
| Documentation for this section has not yet been entered. |
| [read-only] | Date | DateTime. Gets the date component of the current instance. |
| [read-only] | Day | int. Gets the day of the month represented by the current instance. |
| [read-only] | DayOfWeek | DayOfWeek. Gets the day of the week represented by the current instance. |
| [read-only] | DayOfYear | int. Gets the day of the year represented by the current instance. |
| [read-only] | Hour | int. Gets the hour represented by the current instance. |
| [read-only] | Kind | DateTimeKind. Documentation for this section has not yet been entered. |
| [read-only] | Millisecond | int. Gets the milliseconds component of the date represented by the current instance. |
| [read-only] | Minute | int. Gets the minute component of the date represented by the current instance. |
| [read-only] | Month | int. Gets the month component of the date represented by the current instance. |
| [read-only] static | Now | DateTime. Gets a DateTime representing the current local date and time. |
| [read-only] | Second | int. Gets the seconds component of the date represented by the current instance. |
| [read-only] | Ticks | long. Gets the number of 100-nanosecond ticks that represent the date and time of the current instance. |
| [read-only] | TimeOfDay | TimeSpan. Gets the time of day of the current instance. |
| [read-only] static | Today | DateTime. Gets the current date. |
| [read-only] static | UtcNow | DateTime. Gets the current time converted to coordinated universal time (UTC). |
| [read-only] | Year | int. Gets the year component of the date represented by the current instance. |
Add(TimeSpan)Adds the value of a specified TimeSpan instance to the current instance. | ||
AddDays(double)Adds a specified number of days to the value of the current instance. | ||
AddHours(double)Adds a specified number of hours to the value of the current instance. | ||
AddMilliseconds(double)Adds a specified number of milliseconds to the value of the current instance. | ||
AddMinutes(double)Adds a specified number of minutes to the value of the current instance. | ||
AddMonths(int)Adds a specified number of months to the value of the current instance. | ||
AddSeconds(double)Adds a specified number of seconds to the value of the current instance. | ||
AddTicks(long)Adds a specified number of ticks to the value of the current instance. | ||
AddYears(int)Adds a specified number of years to the value of the current instance. | ||
static | Compare(DateTime, DateTime)Returns the sort order of the two specified instances of DateTime . | |
CompareTo(DateTime)Returns the sort order of the current instance compared to the specified DateTime . | ||
CompareTo(object)Returns the sort order of the current instance compared to the specified object . | ||
static | DaysInMonth(int, int)Returns the number of days in a specified month of a specified year. | |
Equals(DateTime)Returns a bool indicating whether the current instance is equal to the specified DateTime. | ||
override | Equals(object)Returns a bool indicating whether the current instance is equal to a specified object. | |
static | Equals(DateTime, DateTime)Returns a bool indicating whether two specified instances of DateTime are equal. | |
static | FromBinary(long)Documentation for this section has not yet been entered. | |
static | FromFileTime(long)Documentation for this section has not yet been entered. | |
static | FromFileTimeUtc(long)Documentation for this section has not yet been entered. | |
static | FromOADate(double)Documentation for this section has not yet been entered. | |
GetDateTimeFormats()Documentation for this section has not yet been entered. | ||
GetDateTimeFormats(char)Documentation for this section has not yet been entered. | ||
GetDateTimeFormats(IFormatProvider)Documentation for this section has not yet been entered. | ||
GetDateTimeFormats(char, IFormatProvider)Documentation for this section has not yet been entered. | ||
override | GetHashCode()Generates a hash code for the current instance. | |
GetTypeCode()Documentation for this section has not yet been entered. | ||
IsDaylightSavingTime()Documentation for this section has not yet been entered. | ||
static | IsLeapYear(int)Returns a bool value indicating whether a specified year is a leap year. | |
static | Parse(string)Returns the specified string converted to a DateTime value. | |
static | Parse(string, IFormatProvider)Returns the specified string converted to a DateTime value. | |
static | Parse(string, IFormatProvider, System.Globalization.DateTimeStyles)Returns the specified string converted to a DateTime value. | |
static | ParseExact(string, string, IFormatProvider)Converts the specified string representation of a date and time to its DateTime equivalent using a specified format and IFormatProvider . | |
static | ParseExact(string, string, IFormatProvider, System.Globalization.DateTimeStyles)Converts the string representation of a date and time to its DateTime equivalent using a specified style, the expected format, and culture-specific format information. | |
static | ParseExact(string, string[], IFormatProvider, System.Globalization.DateTimeStyles)Converts the string representation of a date and time to its DateTime equivalent using a specified style, an array of expected formats, and culture-specific format information. | |
static | SpecifyKind(DateTime, DateTimeKind)Documentation for this section has not yet been entered. | |
Subtract(DateTime)Subtracts a specified date and time from the current instance. | ||
Subtract(TimeSpan)Subtracts a specified TimeSpan from the current instance. | ||
ToBinary()Documentation for this section has not yet been entered. | ||
ToFileTime()Documentation for this section has not yet been entered. | ||
ToFileTimeUtc()Documentation for this section has not yet been entered. | ||
ToLocalTime()Converts the universal time coordinate (UTC) time value in the current instance to local time. | ||
ToLongDateString()Converts the date denoted by the current instance to its equivalent long date string representation. | ||
ToLongTimeString()Converts the time denoted by the current instance to its equivalent long time string representation. | ||
ToOADate()Documentation for this section has not yet been entered. | ||
ToShortDateString()Converts the date denoted by the current instance to its equivalent short date string representation. | ||
ToShortTimeString()Converts the time denoted by this instance to its equivalent short time string representation. | ||
override | ToString()Returns a string representation of the value of the current instance. | |
ToString(IFormatProvider)Returns a string representation of the value of the current instance. | ||
ToString(string)Returns a string representation of the value of the current instance. | ||
ToString(string, IFormatProvider)Returns a string representation of the value of the current instance. | ||
ToUniversalTime()Converts the current DateTime value to coordinated universal time (UTC). | ||
static | TryParse(string, out DateTime)Documentation for this section has not yet been entered. | |
static | TryParse(string, IFormatProvider, System.Globalization.DateTimeStyles, out DateTime)Documentation for this section has not yet been entered. | |
static | TryParseExact(string, string, IFormatProvider, System.Globalization.DateTimeStyles, out DateTime)Documentation for this section has not yet been entered. | |
static | TryParseExact(string, string[], IFormatProvider, System.Globalization.DateTimeStyles, out DateTime)Documentation for this section has not yet been entered. | |
static | Addition(DateTime, TimeSpan) | Adds a specified TimeSpan value to a specified DateTime value. |
static | Equality(DateTime, DateTime) | Returns a bool value indicating whether the two specified instances of DateTime are equal. |
static | GreaterThan(DateTime, DateTime) | Returns a bool value indicating whether one specified DateTime is greater than another specified DateTime. |
static | GreaterThanOrEqual(DateTime, DateTime) | Returns a bool value indicating whether one specified DateTime is greater than or equal to another specified DateTime. |
static | Inequality(DateTime, DateTime) | Returns a bool value indicating whether two specified instances of DateTime are not equal. |
static | LessThan(DateTime, DateTime) | Returns a bool value indicating whether one specified DateTime is less than another specified DateTime. |
static | LessThanOrEqual(DateTime, DateTime) | Returns a bool value indicating whether one specified DateTime is less than or equal to another specified DateTime. |
static | Subtraction(DateTime, DateTime) | Subtracts a specified DateTime from another specified DateTime value, producing a time interval. |
static | Subtraction(DateTime, TimeSpan) | Subtracts a specified TimeSpan from a specified DateTime . |
| System.Runtime.Serialization.ISerializable.GetObjectData | Documentation for this section has not yet been entered. | |
| IConvertible.ToBoolean | Documentation for this section has not yet been entered. | |
| IConvertible.ToByte | Documentation for this section has not yet been entered. | |
| IConvertible.ToChar | Documentation for this section has not yet been entered. | |
| IConvertible.ToDateTime | Documentation for this section has not yet been entered. | |
| IConvertible.ToDecimal | Documentation for this section has not yet been entered. | |
| IConvertible.ToDouble | Documentation for this section has not yet been entered. | |
| IConvertible.ToInt16 | Documentation for this section has not yet been entered. | |
| IConvertible.ToInt32 | Documentation for this section has not yet been entered. | |
| IConvertible.ToInt64 | Documentation for this section has not yet been entered. | |
| IConvertible.ToSByte | Documentation for this section has not yet been entered. | |
| IConvertible.ToSingle | Documentation for this section has not yet been entered. | |
| IConvertible.ToType | Documentation for this section has not yet been entered. | |
| IConvertible.ToUInt16 | Documentation for this section has not yet been entered. | |
| IConvertible.ToUInt32 | Documentation for this section has not yet been entered. | |
| IConvertible.ToUInt64 | Documentation for this section has not yet been entered. |