2016-01-0101:01:00"/> 2016-01-0101:01:00">

Home  >  Article  >  Database  >  How to use the ADDTIME function in MySQL

How to use the ADDTIME function in MySQL

WBOY
WBOYforward
2023-06-02 20:43:09979browse

ADDTIME(time, times): Add times to time

SELECT ADDTIME(“2015-12-31 23:59:59”,'01:01:01')
-> 2016-01-01 01:01:00

The above is the detailed content of How to use the ADDTIME function 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