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: Number of days -function

Re: Number of days -function

From: Valentin Minzatu <valentinminzatu_at_yahoo.com>
Date: 11 Oct 2001 04:58:41 -0700
Message-ID: <c520825e.0110110358.60501c14@posting.google.com>


sweidanz_at_yahoo.com wrote in message news:<UE4x7.7$yb1.698_at_nsw.nnrp.telstra.net>...
> Folks,
> Is there a way (function or an equation) to retunr number of days between
> two dates?
>
> thanks,
> ZS

Try the as in the following example:
select to_date('22-oct-2001', 'dd-mon-yyyy') - to_date('12-oct-2001', 'dd-mon-yyyy')   from dual;

Regards,
Valentin Minzatu Received on Thu Oct 11 2001 - 06:58:41 CDT

Original text of this message

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