The following PHP code shows Moscow time an hour more than it actually is:
date_default_timezone_set('UTC'); echo date('H:i:s'), '<br>'; date_default_timezone_set('Europe/Moscow'); echo date('H:i:s'); Displays:
13:24:57 17:24:57 System time on the server in UTC.
But at the same time, the time of Ekaterinburg (GMT + 6) is shown correctly.
What can be wrong? Thank!
date.timezone = "Etc/GMT-3"- it works. And at 5.6 everything is already fine - splash58