| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: Urgent Query
deepagulati_at_rediffmail.com wrote:
> Hi,
> This query
> select to_date(CURRENT_DATE,'dd/mm/yyyy hh:mi:ss AM') from dual;
>
> returnig the result as 31/07/0006 while the current year is 2006 ???
>
> plz help
Are you by any change converting a date column to a date? Shouldn't it just be TO_CHAR(current_date.....
Just asking
As this is a volunteer forum, there is no such thing as 'urgent'. If it is urgent, call support.
-- Sybrand Bakker Senior Oracle DBAReceived on Mon Jul 31 2006 - 07:26:35 CDT
![]() |
![]() |