| C-Extensions / C API functions | |
Copies a datetime value by adding or dropping fields based on a qualifier.
mint dtextend(dtime_t *id, dtime_t *od);
| Code | Description |
|---|---|
| 0 | The operation was successful. |
| <0 | The operation failed. |
| -1268 | A parameter contains an invalid datetime qualifier |
The function makes a copy a datetime value id to the datetime value od, adding or dropping fields based on the qualifier of od.