Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Re: How do I change the format of a date?
If you are asking about date format in SQL*Plus
select TO_CHAR(sysdate, 'mm/dd/yyyy')
from dual;
or if you really do not want the leading zeros
select to_char(to_number(to_char(sysdate, 'mm'))) || '/' || to_char(to_number(to_char(sysdate, 'dd'))) || '/' || to_char(sysdate, 'yy')
Jay!!!
tirthankara wrote:
> Hello,
>
> How can I change the format of a DATE from 03-JUN-99 to 6/3/1999?
>
> Please help. Thanks.
>
> Sent via Deja.com
> http://www.deja.com/
--Received on Wed Dec 13 2000 - 18:33:12 CST