Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: beginners question: four digit year

Re: beginners question: four digit year

From: Jerzy Bin <jerzy.bin_at_chello.at>
Date: Sat, 02 Jun 2001 14:37:10 GMT
Message-ID: <3B18FA0E.82161E12@chello.at>

You can set up NLS_DATE_FORMAT parameter in your INIT.ORA file to anything you want.
i.e. NLS_DATE_FORMAT="DD-MM-YYYY"

Cheers

jdentwickler_at_gmx.de wrote:
>
> Hello !
>
> I hope you can help me:
>
> When select date values from an oracle database I always get the year with
> two digits displayed.
> Of course I can decode the date with the oracle function and an recompose a
> new date format with a four digit year,
> but is there an easy way to confige oracle (8.1.x) to deliver the date
> always with a four digit year ?
>
> Thank you
> J.F.Sebastian
Received on Sat Jun 02 2001 - 09:37:10 CDT

Original text of this message

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