Server time is different from the desired me. Looms from Moscow for 4 hours. Used date_default_timezone_set ('Europe / Moscow');
But still the time is not correct – lags behind an hour. The same with date_default_timezone_set ('msd')
and with date_default_timezone_set ('msk')
How can I definitely correctly set the server time?
Answer 1, Authority 100%
Try
date_default_timezone_set ('etc / gmt + 3')
GMT + 3 indicator (Meridiana astronomical time) can be varied.