My Oracle Support Banner

TIMEZONE SHIFTS CAUSE BAD QUERY RESULTS FOR TIMESTAMP FIELDS (Doc ID 2609588.1)

Last updated on APRIL 18, 2022

Applies to:

MySQL Server - Version 5.7 and later
Information in this document applies to any platform.

Symptoms

When changing to Daylight Savings Time (DST) the results from 00:00 to 02:00 can be different depending how the query is performed.

This only happens when timezone is different from UTC.

Cause

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
Symptoms
Cause
Solution
References


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