FROM_UNIXTIME(unix_timestamp,format):把時間戳記轉換成日期時間SELECT FROM_UNIXTIME(1452959999) SELECT FROM_UNIXTIME(1452959999,'%Y-%m-%d %H:%i:%s')登入後複製-> 2016-01-16 23:59:59 -> 2016-01-16 23:59:59登入後複製