Initially, the server is configured for Russia.

<?php print_r(setlocale(LC_ALL,NULL)); echo strftime('%c'); setlocale(LC_ALL,'sv_SE.ISO-8859-1'); echo strftime('%c'); print_r(setlocale(LC_ALL,NULL)); ?> 

The locale does not change and time too. The difference should be 2 hours.

    1 answer 1