SELECT EXTRACT(HOUR_SECOND FROM '2003-01-02 10 : EXTRACT : Date Time Functions MySQL TUTORIALS


MySQL TUTORIALS » Date Time Functions » EXTRACT »

 

SELECT EXTRACT(HOUR_SECOND FROM '2003-01-02 10


mysql>
mysql>
mysql> SELECT EXTRACT(HOUR_SECOND FROM '2003-01-02 10:30:00.000123');
+--------------------------------------------------------+
| EXTRACT(HOUR_SECOND FROM '2003-01-02 10:30:00.000123') |
+--------------------------------------------------------+
|                                                 103000 |
+--------------------------------------------------------+
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
» EXTRACT