Method AddMinutes
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
AddMinutes(DateTime, double, string)
Adds a value in minutes to a DateTime taking a timezone into consideration.
public static DateTime AddMinutes(this DateTime @this, double value, string timezone)
Parameters
this
DateTime
The original DateTime.
value
double
The value to be added.
timezone
string
The timezone.
Returns
The resulting DateTime.
Remarks
See the server documentation for $dateAdd for information on timezones in MongoDB.