Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Date and Time arithmetic
Try
SELECT TRUNC(MOD((time2 - time1) * 24 * 24, 60)) || 'hrs ' ||
TRUNC(MOD((time2 - time1) * 24 * 60, 60)) || 'mins ' || TRUNC(MOD((time2
- time1) * 24 * 60 * 60, 60)) || ' seconds' from dual;
hth
R.
-- Posted via http://dbforums.comReceived on Wed Mar 12 2003 - 03:24:48 CST