- Add: adds the value of the specified TimeSpan to the DateTime value.
- AddDays: adds the specified number of days to the DateTime value.
- AddHours: adds the specified number of hours to the DateTime value.
- AddMilliseconds: adds the specified number of milliseconds to the DateTime value.
- AddMinutes: adds the specified number of minutes to the DateTime value.
- AddMonths: adds the specified number of months to the DateTime value.
- AddSeconds: adds the specified number of seconds to the DateTime value.
- AddYears: adds the specified number of years to the DateTime value.
- DaysInMonth: returns the number of days in the specified month of the specified year.
- IsLeapYear: returns an indication of whether the specified year is a leap year.
- Subtract: subtracts the specified time or duration from the DateTime value.
- ToLocalTime: converts the current Coordinated Universal Time (UTC) to local time.
- ToLongDateString: converts the value of this instance to its equivalent long date string representation.
- ToLongTimeString: converts the value of this instance to its equivalent long time string representation.
- ToShortDateString: converts the value of this instance to its equivalent short date string representation.
- ToShortTimeString: converts the value of this instance to its equivalent short time string representation.
- ToUniversalTime: converts the current local time to Coordinated Universal Time (UTC).
Monday, April 27, 2009
Now Methods
Methods of Now:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment