Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

convert julian date to normal date

$sidAug 3 2012 — edited Aug 6 2012
Hi All,

I am using TO_DATE(TO_CHAR(datecolumn+1900000),'YYYYDDD') sql query to convert julian date format to normal date format

it is working fine for all the date format attributes like start date, hiredate, end date except date of birth attribute

I have a date of birth attribute for this same query is not working

Can i know the soluiton

Error report:
SQL Error: ORA-01848: day of year must be between 1 and 365 (366 for leap year)
01848. 00000 - "day of year must be between 1 and 365 (366 for leap year)"
*Cause:
*Action:

Regards
user7609
This post has been answered by theoa on Aug 6 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 3 2012
Added on Aug 3 2012
20 comments
85,085 views