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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Time Operations

Re: Time Operations

From: Sybrand Bakker <postmaster_at_sybrandb.demon.nl>
Date: Tue, 4 Jan 2000 14:20:25 +0100
Message-ID: <946992110.27212.0.pluto.d4ee154e@news.demon.nl>


multiply by 24 will give the results in hours

             by 24*60 in minutes
      and  by 24*60*60 in seconds

Hth,

--
Sybrand Bakker, Oracle DBA
Daniel <fiudi @@@ hotmail com> wrote in message news:3871e86f_at_news.datacomm.ch...
> Hello
>
> I'm trying to do some time calculations like:
>
> select to_date('03:15:00', 'hh:mi:ss') - to_date('03:00:00', 'hh:mi:ss')
> test
> from dual;
>
> TEST
> ---------
> .01041667
>
> The problem is to set 'TEST' back to a time (resp. date) format.
> Any suggestions?
>
> Thanks
> Dan
>
>
>
>
Received on Tue Jan 04 2000 - 07:20:25 CST

Original text of this message

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