Methods
Add | Adds the value of the specified TimeSpan to the value of this instance. |
AddDays | Adds the specified number of days to the value of this instance. |
AddHours | Adds the specified number of hours to the value of this instance. |
AddMilliseconds | Adds the specified number of milliseconds to the value of this instance. |
AddMinutes | Adds the specified number of minutes to the value of this instance. |
AddMonths | Adds the specified number of months to the value of this instance. |
AddSeconds | Adds the specified number of seconds to the value of this instance. |
AddTicks | Adds the specified number of ticks to the value of this instance. |
AddYears | Adds the specified number of years to the value of this instance. |
Compare | Compares two instances of DateTime and returns an indication of their relative values. |
CompareTo | Compares this instance to a specified object and returns an indication of their relative values. |
DaysInMonth | Returns the number of days in the specified month of the specified year. |
Equals | Overloaded. Overridden. Returns a value indicating whether an instance of DateTime is equal to a specified object. |
FromFileTime | Returns a DateTime equivalent to the specified operating system file timestamp. Returns an unsigned 8-byte value representing the date and time as the number of 100-nanosecond intervals that have elapsed since 1/1/1601 12:00 AM. |
FromOADate | Returns a DateTime equivalent to the specified OLE Automation Date. |
GetDateTimeFormats | Overloaded. Converts the value of this instance to allthe string representations supported by the standard DateTime format specifiers. |
GetHashCode | Overridden. Returns the hash code for this instance. |
GetType | Gets the Type of the current instance. |
GetTypeCode | Returns the TypeCode for value type DateTime. |
IsLeapYear | Returns an indication whether the specified year is a leap year. |
Parse | Overloaded. Converts the specified string representation of a date and time to its DateTime equivalent. |
ParseExact | Overloaded. Converts the specified string representation of a date and time to its DateTime equivalent. The format of the string representation must match a specified format exactly. |
Subtract | Overloaded. Subtracts the specified time or duration from this instance. |
ToFileTime | Converts the value of this instance to the format of the local system file time. |
ToLocalTime | Converts the current coordinated universal time (UTC) to local time. Consirders the DateTime value a UTC value as converts it to a local time. |
ToLongDateString | Converts the value of this instance to its equivalent long date string representation. |
ToLondTimeString | Converts the value of this instance to its equivalent long time string representation. |
ToOADate | Converts the value of this instance to the equivalent OLE Automation date. Converts to an OLE Automation-compatible value. This is a double value similar to the Date values used in VB 6.0. |
ToShortDateString | Converts the value of this instance to its equivalent short time string representation. |
ToString | Overloaded. Overridden. Converts the value of this instance to its equivalent string representation. |
ToUniversalTime | Converts the current local time to coordinated universal time (UTC). This considers the DateTime value to be a local time and converts it to Coordinated Universal Time (UTC). |
© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext