Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: how to change date format to include time?
In article <5rkgu7$7cu$1_at_nntp.Stanford.EDU>,
afliu_at_leland.Stanford.EDU (Annabel Fang Liu) wrote:
>
>
> Hi,
>
> I am trying to change the date format in oracle 7.3.2 to include
> hour and minute. I would like to change the date format to be
> something like '199901012259'. Can anyone help me?
>
> Thanks.
>
> -Annabel
>
> --
set the NLS_DATE_FORMAT parameter to "YYYYMMDDHH24SS". You can set this param in initSID.ora file or use ALTER DATABASE SET ...command. Note that ALTER..command only applies for that session.
-------------------==== Posted via Deja News ====----------------------- http://www.dejanews.com/ Search, Read, Post to UsenetReceived on Tue Jul 29 1997 - 00:00:00 CDT