Compare two DBDATETIME values.
int dbdatecmp(dbproc, d1, d2) DBPROCESS *dbproc; DBDATETIME *d1; DBDATETIME *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 DBDATETIME value.
A pointer to a DBDATETIME value.
If d1 = d2, dbdatecmp returns 0.
If d1 < d2, dbdatecmp returns -1.
If d1 > d2, dbdatecmp returns 1.
dbdatecmp compares two DBDATETIME values.
The range of legal DBDATETIME values is from January 1, 1753 to December 31, 9999. DBDATETIME values have a precision of 1/300th of a second (3.33 milliseconds).