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






mysql>
mysql> SELECT TIME_TO_SEC('22:23:00');
+-------------------------+
| TIME_TO_SEC('22:23:00') |
+-------------------------+
|                   80580 |
+-------------------------+
1 row in set (0.00 sec)








14.49.TIME_TO_SEC
14.49.1.TIME_TO_SEC(time) returns the time argument, converted to seconds.
14.49.2.SELECT TIME_TO_SEC('00:39:38');