Method AddQuarters
AddQuarters(DateTime, int)
Adds a value in quarters to a DateTime.
public static DateTime AddQuarters(this DateTime @this, int value)
Parameters
Returns
- DateTime
The resulting DateTime.
AddQuarters(DateTime, int, string)
Adds a value in quarters to a DateTime taking a timezone into consideration.
public static DateTime AddQuarters(this DateTime @this, int value, string timezone)
Parameters
Returns
- DateTime
The resulting DateTime.
Remarks
See the server documentation for $dateAdd for information on timezones in MongoDB.