-
MySQL的时间差函数(TIMESTAMPDIFF、DATEDIFF)、日期转换计算函数
1. 时间差函数(TIMESTAMPDIFF、DATEDIFF)需要用MySQL计算时间差,使用TIMESTAMPDIFF、DATEDIFF,记录一下实验结果--0select datediff(now(), now());--2sel
1. 时间差函数(TIMESTAMPDIFF、DATEDIFF)需要用MySQL计算时间差,使用TIMESTAMPDIFF、DATEDIFF,记录一下实验结果--0select datediff(now(), now());--2sel