且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将 Excel 日期编号更改为 Oracle 日期

更新时间:2022-06-10 01:21:01

您拥有的值是自 1899 年 12 月 30 日以来的天数.尝试:

The value you have is the number of days since the 30th of December 1899. Try:

select to_char(
  to_date('1899-12-30', 'YYYY-MM-DD') + 41293,
  'DD/MON/YYYY') from dual