时间转换 转时间戳 select datediff('s',to_date('19700101','YYYYMMDD'),trunc(sysdate-1)); 转时分秒 select dateadd('s',1688428800,to_date('19700101','YYYYMMDD'));