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: Date conversion

Re: Date conversion

From: Jim Kennedy <kennedy-down_with_spammers_at_attbi.com>
Date: Fri, 07 Feb 2003 10:36:46 GMT
Message-ID: <2%L0a.20188$vm2.11890@rwcrnsc54>


Is the ,141 part a fraction of a second? In 8i you could do: to_date(substr('2003-02-07 11:20:17,141',1,19),'yyyy-mm-dd hh24:mi:ss') and that would do (you would be missing the fraction of a second. Jim

--
Replace part of the email address: kennedy-down_with_spammers_at_attbi.com
with family.  Remove the negative part, keep the minus sign.  You can figure
it out.
"Marek Lange" <marek.lange_at_web.de> wrote in message
news:3E438A47.3090002_at_web.de...

> Hi all,
>
> is there a way to convert the string
>
> 2003-02-07 11:20:17,141
>
> (log4j output) to the Oracle 'Date' datatype?
>
> Thanks,
>
> Marek
>
Received on Fri Feb 07 2003 - 04:36:46 CST

Original text of this message

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