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: Adding time to Date field

Re: Adding time to Date field

From: vr0506 <NoSpam_at_SomeDomain.Com>
Date: Wed, 11 Aug 1999 13:26:24 -0400
Message-ID: <7osbo2$61s$1@epsilon.biogen.com>


Try this:

select

   sysdate,
   to_date(to_char(sysdate, 'mmddyyyy')||to_char(to_number(to_char(sysdate, 'SSSSS'))+(60*80)), 'mmddyyyysssss')
from dual

Replace sysdate with the field name you want.

premjit <premjit_at_hq.idt.net> wrote in message news:7os961$c7n_at_nnrp2.farm.idt.net...
> Hi,
>
> Can anyone let me know how to add say one hour and 20 minutes to the
> existing date field. The date field is fetched from the field in a table
by
> PL/SQL.
>
> Thanks
>
>
>
Received on Wed Aug 11 1999 - 12:26:24 CDT

Original text of this message

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