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