I tried the diagnostics in Rolf and Robert's article:https://cmscanbesimple.org/blog/server-time-difference. The diagnostic UDT named "test_server_timezones" gives:
Code: Select all
PHP time is '2020-04-06 20:55:48'
MySQL time is '2020-04-06 19:55:48'
Code: Select all
$config['timezone'] = 'Europe/London';
Code: Select all
$config['set_db_timezone'] = 'Europe/London';
(The other three tests mentioned in that article are all fine. The UNIX timestamp is correct, and the UDTs "test_db_timedifference" and "test_file_timedifference" both show zero offset.)
(I tried to ask this question in the obvious place, at the bottom of the original article, but I was defeated by Rolf's anti-spam system.)