Manzi
DTDrizzle Team
•Created by Manzi on 7/19/2024 in #help
MySQL2 and Datetime - UTC is wrong.
Hi!
I'm having trouble with fetching and saving UTC Datetimes to the database. In the database everything works fine. UTC time is right if i for example say DEFAULT NOW(). However when i create a new Date() and try to save it to the database. Drizzle is doing it's own conversion before sending it up or something. My local machine is +2 UTC but the times drizzle sends to database is -2 utc.
Do you know any fix for this? Is this a known error/bug?
17 replies