Home >Database >Mysql Tutorial >How to convert time into seconds in MySQL

How to convert time into seconds in MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBforward
2023-06-03 14:15:331607browse

TIME_TO_SEC(time): Convert time into seconds

SELECT TIME_TO_SEC(‘22:23:00')
-> 2378

The above is the detailed content of How to convert time into seconds in MySQL. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete