我希望能够在24小时内查看此查询的输出。我的意思是输出就像例如
5 Day(s) | 21 Hour(s) | 22 Minute(s) | 50 Second(s)
目前我得到的输出是
5 Day(s) | 141 Hour(s) | 8488 Minute(s) | 509336 Second(s)
这是我使用的日期时间计算
SELECT
CONCAT( (TIMESTAMPDIFF(DAY, '2015-04-18 12:49:17', now())), ' Day(s)'),
CONCAT( (TIMESTAMPDIFF(HOUR, '2015-04-18 12:49:17', now())), ' Hour(s)'),
CONCAT( (TIMESTAMPDIFF(MINUTE, '2015-04-18 12:49:17', now())), ' Minute(s)'),
CONCAT( (TIMESTAMPDIFF(SECOND, '2015-04-18 12:49:17', now())), ' Second(s)')
感谢您的帮助!