Returns the DateTime result from adding this instance to a fractional number of minutes.
[Visual Basic] Public Function AddMinutes( _ ByVal value As Double _ ) As DateTime [C#] public DateTime AddMinutes( double value ); [C++] public: DateTime AddMinutes( double value ); [JScript] public function AddMinutes( value : double ) : DateTime;
The DateTime results from adding a fractional number of minutes to this instance.
Exception Type | Condition |
---|---|
ArgumentOutOfRangeException | If the resulting DateTime is outside the supported range. |
The AddMinutes method is computed by rounding the fractional number of minutes specified by value to the nearest millisecond, then that interval is added to this instance of DateTime.
The value parameter argument can be negative.
DateTime Structure | DateTime Members | System Namespace | Double | Minute