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

Home -> Community -> Usenet -> c.d.o.tools -> Re: Calc. diff. of dates in min.

Re: Calc. diff. of dates in min.

From: Matt Foster <matt_foster_uk_at_yahoo.co.uk>
Date: 2000/09/21
Message-ID: <39C9EBEC.A3E59DCC@yahoo.co.uk>#1/1

bhavinsh_at_my-deja.com wrote:
>
> Hi,
>
> How do you get a difference in two oracle dates
> (format = 'DD-MM-YYYY HH24:MI:SS') in minutes?
> Are there any oracle functions that will do
> this?
>
> Oracle 8.1.6
> Red Hat 6.0
>
> Thanks in advance.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.

select (date2-date1)*24*60 from mytable;

MF

-- 
matt_foster_uk_at_yahoo.co.uk
Received on Thu Sep 21 2000 - 00:00:00 CDT

Original text of this message

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