最佳答案
您可以使用如下查询:
原文链接:https://www.f2er.com/mysql/433819.htmlSELECT
DATE_FORMAT(date('1970-12-31 23:59:59')
+ interval 1015557 second,'%j days %Hh:%im:%ss') as result;
样品
MysqL> SELECT
-> DATE_FORMAT(date('1970-12-31 23:59:59')
-> + interval 1015557 second,'%j days %Hh:%im:%ss') as result;
+----------------------+
| result |
+----------------------+
| 011 days 18h:05m:57s |
+----------------------+
1 row in set (0,00 sec)
MysqL>