Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: formatting a number to time

Re: formatting a number to time

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: Tue, 12 Oct 1999 13:02:14 -0400
Message-ID: <e2kDONizBUZUtzLVwuIAPrODZKyt@4ax.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US