SQL Function Reference

TIME_TO_SEC
Converts a time value into the number of seconds.
MySQL
TIME_TO_SEC(time)
time
The time value to convert.
Examples
MySQL
SELECT TIME_TO_SEC('01:02:03');