DateTimeExtensions Methods |
The DateTimeExtensions type exposes the following members.
| Name | Description | |
|---|---|---|
| Add(DateTime, Int64, DateTimeUnit) |
Adds a value of the specified unit to a DateTime.
| |
| Add(DateTime, TimeSpan, String) |
Adds a TimeSpan value to a DateTime taking a timezone into consideration.
| |
| Add(DateTime, Int64, DateTimeUnit, String) |
Adds a value of the specified unit to a DateTime taking a timezone into consideration.
| |
| AddDays |
Adds a value in days to a DateTime taking a timezone into consideration.
| |
| AddHours |
Adds a value in hours to a DateTime taking a timezone into consideration.
| |
| AddMilliseconds |
Adds a value in milliseconds to a DateTime taking a timezone into consideration.
| |
| AddMinutes |
Adds a value in minutes to a DateTime taking a timezone into consideration.
| |
| AddMonths |
Adds a value in months to a DateTime taking a timezone into consideration.
| |
| AddQuarters(DateTime, Int32) |
Adds a value in quarters to a DateTime.
| |
| AddQuarters(DateTime, Int32, String) |
Adds a value in quarters to a DateTime taking a timezone into consideration.
| |
| AddSeconds |
Adds a value in seconds to a DateTime taking a timezone into consideration.
| |
| AddWeeks(DateTime, Int32) |
Adds a value in weeks to a DateTime taking.
| |
| AddWeeks(DateTime, Int32, String) |
Adds a value in weeks to a DateTime taking a timezone into consideration.
| |
| AddYears |
Adds a value in years to a DateTime taking a timezone into consideration.
| |
| Subtract(DateTime, DateTime, DateTimeUnit) |
Subtracts the start date from the end date returning the result in the specified unit.
| |
| Subtract(DateTime, DateTime, String) |
Subtracts the start date from the end date returning a TimeSpan taking a timezone into consideration.
| |
| Subtract(DateTime, Int64, DateTimeUnit) |
Subtracts a value of the specified unit from a DateTime.
| |
| Subtract(DateTime, TimeSpan, String) |
Subtracts a TimeSpan from a date taking a timezone into consideration.
| |
| Subtract(DateTime, DateTime, DateTimeUnit, String) |
Subtracts the start date from the end date returning the result in the specified unit taking a timezone into consideration.
| |
| Subtract(DateTime, Int64, DateTimeUnit, String) |
Subtracts a value of the specified unit from a DateTime taking a timezone into consideration.
| |
| Truncate(DateTime, DateTimeUnit) |
Truncates a DateTime value to the specified unit.
| |
| Truncate(DateTime, DateTimeUnit, Int64) |
Truncates a DateTime value to the specified unit and bin size.
| |
| Truncate(DateTime, DateTimeUnit, Int64, String) |
Truncates a DateTime value to the specified unit and bin size taking a timezone into consideration.
|