Mysql – Get all records from current day based on datetime in different time zone
I need to select all records for the current day in CST, however the timestamp fields in the table are all in GMT/UTC. The server's timezone is GMT. Getting all records for the current day in GMT is very fast…