Looks like SQL Server is returning days since 01/01/1900, so I think you would just adjust for the difference between that and Julian Date base, e.g.
Code:SELECT TO_NUMBER (TO_CHAR (:some_date, 'J')) - 2415021 FROM dual;
|
Results 1 to 5 of 5
Thread: cast (date as int)??Threaded View
|
Click Here to Expand Forum to Full Width |