Skip to Main Content

Oracle Database Discussions

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!

sysdate returns invalid date

Chuck1958Mar 20 2014 — edited Apr 8 2014

Anyone else run into this? Can someone explain what causes this?

We have a trigger that sets a table column to a date when it fires. The column has a DATE datatype. The only way anything gets into that column is via the trigger. The column gets set to SYSDATE. The problem is the date inserted into the table is invalid! It falls in that "twilight zone" between 2am and 3am on the day where we switch over to daylight savings time. For example one value is "09-Mar-2014 02:05:01". In theory that time never existed in the local time zone.

How is this happening and how do I prevent it?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 6 2014
Added on Mar 20 2014
14 comments
5,723 views