摘要:
select TIMESTAMPDIFF(DAY, '2015-04-20 00:00:00', '2015-04-20 23:59:59');# 只要不足24小时 为0天 select TIMESTAMPDIFF(DAY, '2015-04-20 10:00:00', '2015-04-21 10 阅读全文
摘要:
select TIMESTAMPDIFF(DAY, '2015-04-20 00:00:00', '2015-04-20 23:59:59');# 只要不足24小时 为0天 select TIMESTAMPDIFF(DAY, '2015-04-20 10:00:00', '2015-04-21 10 阅读全文
|