DB2DateTime.Equals(DB2DateTime db2DT1, DB2DateTime db2DT2) method
Determines whether one DB2DateTime instance value is equal to another DB2DateTime instance value.
The DB2DateTime.Equals(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 Equals (db2DT1 As DB2DateTime, db2DT2 As DB2DateTime) As Boolean
[C#]
public static Boolean Equals (DB2DateTime db2DT1, DB2DateTime db2DT2)
[C++]
public:
static Boolean Equals (DB2DateTime db2DT1, DB2DateTime db2DT2)
[JScript]
public static function Equals (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 the same as that of the db2DT2 parameter. If not, a value of false is returned.