23 #include <drizzled/function/cast/time.h>
24 #include <drizzled/time_functions.h>
32 bool res= get_arg0_time(ltime);
34 ltime.truncate(type::DRIZZLE_TIMESTAMP_TIME);
44 if (not get_arg0_time(ltime))
47 ltime.convert(*str, type::DRIZZLE_TIMESTAMP_TIME);
64 return (ltime.neg ? -1 : 1) * (int64_t)((ltime.hour)*10000 + ltime.minute*100 + ltime.second);
String * val_str(String *str)
TODO: Rename this file - func.h is stupid.
bool get_time(type::Time <ime)