Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: subtract dates
Oops .... Multiply by 24 not divide ... I almost had a senior moment and
I am not even 40 ...
Apologies to those who instinctively trusted the code below, it was a
test.
Raj
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Jamadagni, Rajendra
Sent: Wednesday, May 12, 2004 11:33 AM
To: oracle-l_at_freelists.org
Subject: RE: subtract dates
Select (date2-date1)/24) diff_in_hours
from dual
/
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlReceived on Wed May 12 2004 - 10:42:13 CDT
-----------------------------------------------------------------
![]() |
![]() |