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: Comparing Dates

Re: Comparing Dates

From: Mark Gumbs <mgumbs_at_nospam.hotmail.com>
Date: Thu, 27 May 1999 11:45:44 +0100
Message-ID: <374d201a.0@145.227.194.253>


Yes, just subtract them.

select round(date1 - date 2,0)
into v_days
from dual;

Mark

Tay Hwey Chen wrote in message
<01bea816$052c78a0$d04a17cb_at_prabbit.labyrinth.net.au>...
>Does anybody know how to compare dates to determind the number of days
>between them in PL/SQL?
>
>
>
>Regards,
>
>
>Justin
Received on Thu May 27 1999 - 05:45:44 CDT

Original text of this message

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