Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: time interval
Hi,
I'm not sure if this is the best way, but it works, the 1440 is the number
of minutes in a day (24 * 60)
SQL> r
1 select 1440 * (
2 to_date('12-APR-99 12:00:00','DD-MON-YY HH24:MI:SS')
3 - to_date('11-APR-99 13:00:00','DD-MON-YY HH24:MI:SS')
4 ) Difference
5* from dual
DIFFERENCE
1380
/Debbie
-----Original Message-----
From: root_at_fatcity.com [mailto:root_at_fatcity.com]On Behalf Of Xin
"Michael" Wu
Sent: Tuesday, August 22, 2000 7:52 PM
To: Multiple recipients of list ORACLE-L
Subject: time interval
Hi, All:
Is there any way to track the difference of time components (in minutes) between two dates?
Thanks,
Mike
-- Author: Xin \"Michael\" Wu INET: xwu_at_sempratrading.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Aug 23 2000 - 04:41:16 CDT