ORACLE:

select TO_DATE('19700101', 'yyyymmdd') + 1481148929 / 86400 +
TO_NUMBER(SUBSTR(TZ_OFFSET(sessiontimezone), 1, 3)) / 24
from dual

JAVA:

Long timestamp = Long.parseLong("1481148929")*1000;

String date = new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new java util.Date(timestamp));

相关文章:

  • 2021-11-28
  • 2022-01-16
  • 2021-12-18
  • 2021-11-28
  • 2021-11-30
  • 2021-11-28
  • 2021-12-05
猜你喜欢
  • 2021-07-25
  • 2021-12-05
  • 2021-11-19
  • 2021-12-05
  • 2021-12-05
  • 2021-11-19
  • 2021-11-28
  • 2021-12-10
相关资源
相似解决方案