select timestampdiff(day,‘2018-05-25 12:00:00‘,‘2018-05-26 12:44:00‘)
计算两天的时间差 超过24小时算一天
mysql计算时间差
原文:https://www.cnblogs.com/ncgds/p/9092141.html