DB2DateTime.GreaterThan(DB2DateTime db2DT1, DB2DateTime db2DT2) method

Determines whether one DB2DateTime instance value is later than another DB2DateTime instance value.

The DB2DateTime.GreaterThan(DB2DateTime db2DT1, DB2DateTime db2DT2) 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 GreaterThan (db2DT1 As DB2DateTime, db2DT2 As DB2DateTime) As Boolean
[C#]
public static Boolean GreaterThan (DB2DateTime db2DT1, DB2DateTime db2DT2)
[C++]
public:
static Boolean GreaterThan (DB2DateTime db2DT1, DB2DateTime db2DT2)
[JScript]
public static function GreaterThan (db2DT1 : DB2DateTime, db2DT2 : DB2DateTime) : Boolean

Parameters

db2DT1
The first of two DB2DateTime instances that you want to compare.
db2DT2
The second of two DB2DateTime instances that you want to compare.

Return value

Returns a value of true if the value of the db2DT1 parameter is later than the db2DT2 parameter. If not, a value of false is returned.