22 #include <drizzled/function/time/date.h>
37 str->alloc(type::Time::MAX_STRING_LENGTH);
41 new_length= temporal.
to_string(str->c_ptr(), type::Time::MAX_STRING_LENGTH);
42 assert(new_length < type::Time::MAX_STRING_LENGTH);
43 str->length(new_length);
59 return (int64_t) int_value;