| C-Extensions / C API functions | |
To convert a date that is in the native database date format to a string.
mint rdatestr(int4 jdate, char *str);
| Code | Description |
|---|---|
| 0 | The conversion was successful. |
| <0 | The conversion failed. |
| -1210 | The internal date could not be converted to the character string format. |
| -1212 | Data conversion format must contain a month, day, or year component. |
The DBDATE environment variable specifies the data conversion format.