In mysql, you can increase the current time through the statement "DATE_FORMAT(ADDDATE(NOW(), INTERVAL 5 MINUTE),'%Y-%m-%d %H:%i:%s')" 5 minutes.
Recommendation: "mysql video tutorial"
mysql Add 5 minutes to the current date
DATE_FORMAT(ADDDATE(NOW(), INTERVAL 5 MINUTE),’%Y-%m-%d %H:%i:%s’)
5 is the minutes to be added
The above is the detailed content of How to increase the current time of mysql by 5 minutes. For more information, please follow other related articles on the PHP Chinese website!