Functions | |
| RETCODE | dbdatecmp (DBPROCESS *dbproc, DBDATETIME *d1, DBDATETIME *d2) |
| Compare DBDATETIME values, similar to strcmp(3). | |
| const char * | dbmonthname (DBPROCESS *dbproc, char *language, int monthnum, DBBOOL shortform) |
| Get name of a month, in some human language. | |
Defined by Sybase only. These are not implemented:
| RETCODE dbdatecmp | ( | DBPROCESS * | dbproc, | |
| DBDATETIME * | d1, | |||
| DBDATETIME * | d2 | |||
| ) |
Compare DBDATETIME values, similar to strcmp(3).
| dbproc | contains all information needed by db-lib to manage communications with the server. | |
| d1 | a DBDATETIME structure address | |
| d2 | another DBDATETIME structure address |
| 0 | d1 = d2. | |
| -1 | d1 < d2. | |
| 1 | d1 > d2. |
| const char* dbmonthname | ( | DBPROCESS * | dbproc, | |
| char * | language, | |||
| int | monthnum, | |||
| DBBOOL | shortform | |||
| ) |
Get name of a month, in some human language.
| dbproc | contains all information needed by db-lib to manage communications with the server. | |
| language | ignored. | |
| monthnum | number of the month, starting with 1. | |
| shortform | set to TRUE for a three letter output ("Jan" - "Dec"), else zero. |
NULL on error.
1.5.4