C-Extensions / C API functions |
Converts a character string to the native database date format.
mint rstrdate(char *str, int4 *jdate);
Code | Description |
---|---|
0 | The conversion was successful. |
<0 | The conversion failed. |
-1204 | The str parameter specifies an invalid year. |
-1205 | The str parameter specifies an invalid month. |
-1206 | The str parameter specifies an invalid day. |
-1212 | Data conversion format must contain a month, day, or year component. DBDATE specifies the data conversion format. |
-1218 | The date specified by the str argument does not properly represent a date. |
The DBDATE environment variable specifies the data conversion format.