1 Answer
- Newest
- Most votes
- Most comments
0
If this is an EC2 server where you're running a MySQL server, I suspect that it's just picking up BST as the server timezone.
If this is the case, you can change the timezone for the mysqld process as documented here - https://docs.oracle.com/en-us/iaas/mysql-database/doc/changing-timezone-db-system.html
If you're running an RDS instance with MySQL, this document describes how to set the timezone - https://repost.aws/knowledge-center/rds-change-time-zone
answered a year ago
Relevant content
- asked 10 days ago
- asked 2 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 4 years ago
The default_time_zone parameter isn't modifiable so it runs on the server time which is GMT. So if I've got a stored procedure which uses current_timestamp() it will give me the wrong time