| C-Extensions / C API functions | |
Converts a date that is in the native database date format to a string having a specified format.
mint rfmtdate(int4 jdate, char *fmt, char *result);
| Code | Description |
|---|---|
| 0 | The operation was successful. |
| -1210 | The internal date cannot be converted to month-day-year format. |
| -1211 | The program ran out of memory (memory-allocation error). |
| -1212 | Format string is NULL or invalid. |
The fmt string contains the formatting mask for the string.