C-Extensions / C API functions |
Creates a value in the native database date format from an array of short integers.
mint rmdyjul(int2 mdy[3], int4 *jdate);
Code | Description |
---|---|
0 | The operation was successful. |
-1204 | The mdy[2] variable contains an invalid year. |
-1205 | The mdy[0] variable contains an invalid month. |
-1206 | The mdy[1] variable contains an invalid day. |
The mdy parameter is an array of int, where mdy[0] is the month (1 to12), mdy[1] is the day (1 to 31), and mdy[2] is the year (1 to 9999).