TIME(expr) extracts the time part of the time or datetime expression expr and returns it as a string. : TIME : Date Time Functions MySQL TUTORIALS


MySQL TUTORIALS » Date Time Functions » TIME »

 

TIME(expr) extracts the time part of the time or datetime expression expr and returns it as a string.


mysql>
mysql> SELECT TIME('2003-12-31 01:02:03');
+-----------------------------+
| TIME('2003-12-31 01:02:03') |
+-----------------------------+
01:02:03                    |
+-----------------------------+
row in set (0.00 sec)



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Date Time Functions
» TIME