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: Help needed with Date Functions

Re: Help needed with Date Functions

From: D. Buecherl <dbuecherl_at_nkk.net>
Date: Mon, 19 Apr 1999 13:31:59 +0100
Message-ID: <371B223E.4CD736D7@nkk.net>


date1 - date2 gives you the number of days between two dates, therefore 24 * 3600 * (sysdate - trunc(sysdate, 'MONTH')) gives you the number of seconds elapsed within the current month

Dieter

Paul Wiles schrieb:

> Hi
>
> Can someone tell me how to find the difference in seconds between two
> dates - is there an equivalent to the Transact SQL function:
>
> datediff(ss,date1,date2).
>
Received on Mon Apr 19 1999 - 07:31:59 CDT

Original text of this message

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