原文:https://www.jianshu.com/p/6335b4464679
由於咱們是東8區,返回的是 1970-01-01 08:00:00 所以需要減去 8 小時
select date_format(date_sub(from_unixtime(288), INTERVAL 8 HOUR), '%H:%i:%s') from dual;
原文:https://www.jianshu.com/p/6335b4464679
由於咱們是東8區,返回的是 1970-01-01 08:00:00 所以需要減去 8 小時
select date_format(date_sub(from_unixtime(288), INTERVAL 8 HOUR), '%H:%i:%s') from dual;
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。