DB2DateTime.AddMinutes(Double minutes) method

Adds specified minutes to the DB2DateTime instance.

The DB2DateTime.AddMinutes(Double minutes) method is available for use only with the Informix® database server.

Namespace:
IBM.Data.DB2Types
Assembly:
IBM.Data.DB2 (in IBM.Data.DB2.dll)

Syntax


[Visual Basic]
Public Shared Function AddMinutes (minutes As Double) As DB2DateTime
[C#]
public DB2DateTime AddMinutes (Double minutes)
[C++]
public:
DB2DateTime AddMinutess (Double minutes)
[JScript]
public function AddMinutes (minutes Double ) : DB2DateTime

Parameters

minutes
The number of minutes that you want to add to the existing DB2DateTime instance.

Return value

A new DB2DateTime structure that consists of the original DB2DateTime instance value plus the number of minutes that you specified in the minutes parameter. The minutes time unit must be specified in the existing DB2DateTime instance.