Monthly Archives: July 2014

Offset Server Time with PHP

Assalamualaikum,Watch movie online The Transporter Refueled (2015)

If you need your script to operate in a different timezone to that which your server is configured with, you can do this by simply adding the line below to your .php file:

date_default_timezone_set('Asia/Kuala_Lumpur');

For a full list of the available timezone localities you can use, please refer to http://www.php.net/manual/en/timezones.php

php-server-time-offset-manual