如题
TO_DATE('20220824184551','yyyy-MM-dd hh24:mi:ss')
select to_char(1640620800000 / (1000 * 60 * 60 * 24) +
to_date('1970-01-01 08:00:00', 'YYYY/MM/DD HH:MI:SS'),
'YYYY-MM-DD HH24:MI:SS')
from dual; --2021-12-28 00:00:00