Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> format difference of dates as date
The difference of two dates is a number. How can I format this difference as
a date?
What I want is
to_char(endtime-starttime, 'DD HH24:MI:SS')
but the problem is, that endtime-startime is a number and so the format string does not match the type of the first argument.
Any ideas?
-- Tobias WagnerReceived on Tue Apr 05 2005 - 04:30:45 CDT
![]() |
![]() |