Difference between revisions of "Changing Timezone"
From WHMCS Documentation
Line 7: | Line 7: | ||
For a full list of the available timezone localities you can use, please refer to http://www.php.net/manual/en/timezones.php | For a full list of the available timezone localities you can use, please refer to http://www.php.net/manual/en/timezones.php | ||
− | Note: This should be entered above the last line, ?>, in your configuration.php file | + | '''Note: This should be entered above the last line, ?>, in your configuration.php file |
+ | ''' |
Revision as of 17:33, 28 May 2013
If you need your WHMCS system 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 WHMCS configuration.php file:
date_default_timezone_set('Europe/London');
This changes the timezone for the WHMCS installation to the locality you specify so you just need to replace the 'Europe/London' part with the location you are based in.
For a full list of the available timezone localities you can use, please refer to http://www.php.net/manual/en/timezones.php
Note: This should be entered above the last line, ?>, in your configuration.php file