Syntax
TIME(datetime)
Purpose
You can call this function to return the datetime value of the TIME data type.
Examples
obclient> SELECT TIME('2003-12-31 01:02:03');
+-----------------------------+
TIME('2003-12-31 01:02:03')
+-----------------------------+
01:02:03.000000
+-----------------------------+
1 row in set (0.01 sec)