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!

Error: ORA-01841: (full) year must be between -4713 and +9999,

Hello Experts,
I am facing below error:
Caused By: java.sql.SQLDataException: ORA-01841: (full) year must be between -4713 and +9999, and not be 0
when I am using below function:
TO_TIMESTAMP_TZ(lastUpdatedDate,'YYYY-MM-DD"T"HH24:MI:SS.FFTZH:TZM')

Value for lastUpdatedDate =2018-06-01T10:54:51.952+02:00

Am I missing some thing?

Thanks,
Rajneesh

This post has been answered by Rajneesh S-Oracle on Nov 17 2020
Jump to Answer
Comments
Post Details
Added on Nov 17 2020
2 comments
928 views