@Teodor can you clarify the new timezone options for me?
Using your example:
Example 1
Display the stored date & time to the user in the user’s time zone.
In order to display the date & time to the users in their time zone, then you need to set the:
- Server Time Zone to UTC
- Database Time Zone Handling to UTC
With setting as UTC as you describe, should I expect that time will be displayed in the timezone of the browser, without adding any offset manually?
I have a new project, and have confirmed it has Etc/UTC for db connection and docker settings (and the server settings as well) and time is currently shown exactly as it is in the database (UTC).
I’m using mySQL 8 in a docker container.
Thanks!
Community Page
Last updated:
Last updated: