由於咱們是東8區,返回的是 1970-01-01 08:00:00
所以需要減去 8 小時
select date_format(date_sub(from_unixtime(288), INTERVAL 8 HOUR), '%H:%i:%s') from dual;
來個支持天的,計算為王
select concat(TRUNCATE(66110563/(24*3600),0),'天', TRUNCATE(66110563%(24*3600)/3600, 0), '小時', TRUNCATE((66110563%3600/60), 0), '分' , TRUNCATE((66110563)%60, 0), '秒' ) as result