My Oracle Support Banner

Database Actions - Invalid Result of TO_DATE Function for Dates Below 15-OCT-1582 (Doc ID 2857167.1)

Last updated on MARCH 29, 2022

Applies to:

Oracle SQL Developer Web - Version 21.4.1 and later
Information in this document applies to any platform.


 Running below SQL with TO_DATE function in the Database actions worksheet page, results in the incorrect date conversion for dates less than 14-OCT-1582.

Observe the dates less than 14-OCT-1582, which shows incorrect results. The same behaviour is observed in the offline SQL Developer Web versions.

Running the same SQL statement in SQL*plus and SQL Developer tools shows correct results.


Created a new Autonomous Database instance and running the SQL with TO_DATE function.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.