Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: formatting a number to time
A copy of this was sent to smathur9_at_my-deja.com
(if that email address didn't require changing)
On Tue, 12 Oct 1999 16:22:41 GMT, you wrote:
>In a stored procedure, i substracted two date fields which gave me a
>number ( for eg. 10.5 ). Now I want to convert this to a format which
>gives me number of days, hours & minutes ( eg. 10 days, 12 hours, 0 min
>)
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
See the article "Getting the difference between 2 dates (HOWTO)" at the website in my signature. It shows how to get the days/hours/minutes/seconds between 2 dates.
--
See http://osi.oracle.com/~tkyte/ for my columns 'Digging-in to Oracle8i'...
Current article is "Part I of V, Autonomous Transactions" updated June 21'st
Thomas Kyte tkyte_at_us.oracle.com Oracle Service Industries Reston, VA USA
Opinions are mine and do not necessarily reflect those of Oracle Corporation Received on Tue Oct 12 1999 - 12:02:14 CDT