TIME_TO_SEC(time) returns the time argument, converted to seconds. : TIME_TO_SEC : Date Time Functions MySQL TUTORIALS


MySQL TUTORIALS » Date Time Functions » TIME_TO_SEC »

 

TIME_TO_SEC(time) returns the time argument, converted to seconds.


mysql>
mysql> SELECT TIME_TO_SEC('22:23:00');
+-------------------------+
| TIME_TO_SEC('22:23:00') |
+-------------------------+
|                   80580 |
+-------------------------+
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_TO_SEC