Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: subtract dates
Select (date2-date1)/24) diff_in_hours
from dual
/
Raj
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Huascar Espinoza
Sent: Wednesday, May 12, 2004 11:16 AM
To: oracle-l_at_freelists.org
Subject: subtract dates
Hi guys: =3D20
=3D20
How can I subtract two dates ('DD/MM/YY HH:MI:SS') to obtain the result
=3D in hours? MONTHS_BETWEEN don't obtain a precise value. =3D20 =3D20 =
Thank
you,
Hu=3DE1scar
-- 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:33:06 CDT
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------