Compare two DBDATETIME4 values.
int dbdate4cmp(dbproc, d1, d2) DBPROCESS *dbproc; DBDATETIME4 *d1; DBDATETIME4 *d2;
A pointer to the DBPROCESS structure that provides the connection for a particular front-end/server process. It contains all the information that DB-Library uses to manage communications and data between the front end and the server.
This parameter may be NULL.
A pointer to a DBDATETIME4 value.
A pointer to a DBDATETIME4 value.
If d1 = d2, dbdate4cmp returns 0.
If d1 < d2, dbdate4cmp returns -1.
If d1 > d2, dbdate4cmp returns 1.
dbdate4cmp compares two DBDATETIME4 values.
The range of legal DBDATETIME4 values is from January 1, 1900 to June 6, 2079. DBDATETIME4 values have a precision of one minute.