| C-Extensions / C API functions | |
Converts a datetime value to a character string, specifying the format.
mint dttofmtasc(dtime_t *d, char *output, mint len, char *fmt);
| Code | Description |
|---|---|
| 0 | The conversion was successful. |
| <0 | The conversion failed. |
The fmt parameter defines the formatting mask. The default datetime format conforms to the standard ANSI SQL format: %Y-%m-%d %H:%M:%S