Mono Class Library: OverviewSystem.DateTime: Method Members |
The methods of System.DateTime are listed below. For a list of all members, see the DateTime Members list.
See Also: Inherited members from System.ValueType
Add(TimeSpan) : DateTime Adds the value of a specified TimeSpan instance to the current instance.AddDays(double) : DateTime Adds a specified number of days to the value of the current instance.AddHours(double) : DateTime Adds a specified number of hours to the value of the current instance.AddMilliseconds(double) : DateTime Adds a specified number of milliseconds to the value of the current instance.AddMinutes(double) : DateTime Adds a specified number of minutes to the value of the current instance.AddMonths(int) : DateTime Adds a specified number of months to the value of the current instance.AddSeconds(double) : DateTime Adds a specified number of seconds to the value of the current instance.AddTicks(long) : DateTime Adds a specified number of ticks to the value of the current instance.AddYears(int) : DateTime Adds a specified number of years to the value of the current instance. staticCompare(DateTime, DateTime) : int Returns the sort order of the two specified instances of DateTime .CompareTo(DateTime) : int Returns the sort order of the current instance compared to the specified DateTime .CompareTo(object) : int Returns the sort order of the current instance compared to the specified object . staticDaysInMonth(int, int) : int Returns the number of days in a specified month of a specified year.Equals(DateTime) : bool Returns a bool indicating whether the current instance is equal to the specified DateTime. overrideEquals(object) : bool Returns a bool indicating whether the current instance is equal to a specified object. staticEquals(DateTime, DateTime) : bool Returns a bool indicating whether two specified instances of DateTime are equal. staticFromBinary(long) : DateTime Documentation for this section has not yet been entered. staticFromFileTime(long) : DateTime Documentation for this section has not yet been entered. staticFromFileTimeUtc(long) : DateTime Documentation for this section has not yet been entered. staticFromOADate(double) : DateTime Documentation for this section has not yet been entered.GetDateTimeFormats() : string[] Documentation for this section has not yet been entered.GetDateTimeFormats(char) : string[] Documentation for this section has not yet been entered.GetDateTimeFormats(IFormatProvider) : string[] Documentation for this section has not yet been entered.GetDateTimeFormats(char, IFormatProvider) : string[] Documentation for this section has not yet been entered. overrideGetHashCode() : int Generates a hash code for the current instance.GetTypeCode() : TypeCode Documentation for this section has not yet been entered.IsDaylightSavingTime() : bool Documentation for this section has not yet been entered. staticIsLeapYear(int) : bool Returns a bool value indicating whether a specified year is a leap year. staticParse(string) : DateTime Returns the specified string converted to a DateTime value. staticParse(string, IFormatProvider) : DateTime Returns the specified string converted to a DateTime value. staticParse(string, IFormatProvider, System.Globalization.DateTimeStyles) : DateTime Returns the specified string converted to a DateTime value. staticParseExact(string, string, IFormatProvider) : DateTime Converts the specified string representation of a date and time to its DateTime equivalent using a specified format and IFormatProvider . staticParseExact(string, string, IFormatProvider, System.Globalization.DateTimeStyles) : DateTime 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. staticParseExact(string, string[], IFormatProvider, System.Globalization.DateTimeStyles) : DateTime 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. staticSpecifyKind(DateTime, DateTimeKind) : DateTime Documentation for this section has not yet been entered.Subtract(DateTime) : TimeSpan Subtracts a specified date and time from the current instance.Subtract(TimeSpan) : DateTime Subtracts a specified TimeSpan from the current instance.ToBinary() : long Documentation for this section has not yet been entered.ToFileTime() : long Documentation for this section has not yet been entered.ToFileTimeUtc() : long Documentation for this section has not yet been entered.ToLocalTime() : DateTime Converts the universal time coordinate (UTC) time value in the current instance to local time.ToLongDateString() : string Converts the date denoted by the current instance to its equivalent long date string representation.ToLongTimeString() : string Converts the time denoted by the current instance to its equivalent long time string representation.ToOADate() : double Documentation for this section has not yet been entered.ToShortDateString() : string Converts the date denoted by the current instance to its equivalent short date string representation.ToShortTimeString() : string Converts the time denoted by this instance to its equivalent short time string representation. overrideToString() : string Returns a string representation of the value of the current instance.ToString(IFormatProvider) : string Returns a string representation of the value of the current instance.ToString(string) : string Returns a string representation of the value of the current instance.ToString(string, IFormatProvider) : string Returns a string representation of the value of the current instance.ToUniversalTime() : DateTime Converts the current DateTime value to coordinated universal time (UTC). staticTryParse(string, out DateTime) : bool Documentation for this section has not yet been entered. staticTryParse(string, IFormatProvider, System.Globalization.DateTimeStyles, out DateTime) : bool Documentation for this section has not yet been entered. staticTryParseExact(string, string, IFormatProvider, System.Globalization.DateTimeStyles, out DateTime) : bool Documentation for this section has not yet been entered. staticTryParseExact(string, string[], IFormatProvider, System.Globalization.DateTimeStyles, out DateTime) : bool Documentation for this section has not yet been entered.