From an ubuntu 20.04 server I am writing a datetime field to a remote MySQL 5.7 server via Python 3.8.
INSERT INTO
T1
CREATED = datetime.utcnow().strftime("%Y-%m-%d")
The ubuntu server is running at UTC with cron scheduled at 00:30 am. The MySQL Server is Running at UTC+1.
Now the dataset does not contain UTC but the local time offset beeing 01:30 am.
How can I save in UTC?