1010
1010
int my_time_to_str(const MYSQL_TIME *l_time, char *to)
1013
return my_sprintf(to, (to, "%s%02u:%02u:%02u",
1014
1014
(l_time->neg ? "-" : ""),
1015
1015
extra_hours+ l_time->hour,
1020
1020
int my_date_to_str(const MYSQL_TIME *l_time, char *to)
1022
return my_sprintf(to, (to, "%04u-%02u-%02u",
1028
1028
int my_datetime_to_str(const MYSQL_TIME *l_time, char *to)
1030
return my_sprintf(to, (to, "%04u-%02u-%02u %02u:%02u:%02u",