1、时间戳转日期格式化输出
SELECT TO_CHAR(number类型的时间戳 / (1000 * 60 * 60 * 24) +
TO_DATE('1970-01-01 08:00:00', 'YYYY-MM-DD HH:MI:SS'),
'YYYY-MM-DD HH:MI:SS') AS adate
FROM table
SELECT TO_CHAR(number类型的时间戳 / (1000 * 60 * 60 * 24) +
TO_DATE('1970-01-01 08:00:00', 'YYYY-MM-DD HH:MI:SS'),
'YYYY-MM-DD HH:MI:SS') AS adate
FROM table