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: Add day/hour/half-hour to given date in PL/SQL

Re: Add day/hour/half-hour to given date in PL/SQL

From: Jonathan Gennick <gennick_at_worldnet.att.net>
Date: 29 Nov 1998 19:12:31 GMT
Message-ID: <366bef1d.13314945@netnews.worldnet.att.net>


On Sat, 28 Nov 1998 20:41:36 +0100, "Juergen Schneider" <js_at_connectus.de> wrote:

>how I can I add a day/hour/half-hour to a given date variable in PL/SQL. Is
>this possible ?

Yes. I believe that the following will work:

	sysdate + 1	= tomorrow
	sysdate + 1/24	= 1 hour from now
	sysdate + 1/48 	= 1/2 hour from now

Jonathan Received on Sun Nov 29 1998 - 13:12:31 CST

Original text of this message

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