DATEDIFF( Minute, ‘2017-01-01 6:15:12’, ‘2017-01-01 7:18:20’)(SQL service) TIMESTAMPDIFF(时间差类型,时间1,时间2)(Mysql) abs() 绝对值