How to Set Time Zone in PHP and MySQL

Sometimes when working with PHP-MySQL application, we have to explicitly set the time zone in our application in order to match the client's time zone. Since PHP 5.3, time zone setting is mandatory and have to be set explicitly in application or in PHP configuration file (php.ini, for global used) … [Read more...]