int rdatestr(date d, char *str);
The function receives two arguments, the first one is the date to
- convert (d> and the second one is a pointer to the target
+ convert (d>) and the second one is a pointer to the target
string. The output format is always yyyy-mm-dd>, so you need
to allocate at least 11 bytes (including the zero-byte terminator) for the
string.
The function receives a pointer to the timestamp variable to convert
(ts>) and the string that should hold the result of the
- operation output>). It converts ts> to its
+ operation (output>). It converts ts> to its
textual representation according to the SQL standard, which is
be YYYY-MM-DD HH:MM:SS.
The function receives a pointer to the interval variable to convert
(i>) and the string that should hold the result of the
- operation str>). It converts i> to its
+ operation (str>). It converts i> to its
textual representation according to the SQL standard, which is
be YYYY-MM-DD HH:MM:SS.