Ever since I started using WHMCS (Web Host Manager Complete Solution), my dilemma is that it uses the server’s timezone as its default. If a server is based outside of my local timezone, I have no choice but to adjust all of the transaction dates every time there is an entry at the WHMCS.
Now, here’s a trick to dictate WHMCS to use your local timezone:
- Open the file configuration.php for editing.
- Add the line
date_default_timezone_set('Asia/Manila');
if you are from Manila.
The list of timezones can be found at http://www.php.net/manual/en/timezones.php
What’s your Reaction?
+1
+1
+1
+1
1
+1
+1
+1
Thanks for this, very helpful for Me
thank you very much, it’s very useful for me… =)
Good post and nice design, is this a regular template?.
Thank’s! Great 🙂
That was very useful, we were looking for this info to adjust our timezone to Hong Kong
This worked great, thanks. Is there any way to change the time format to 12hr vs 24hr? I think it looks kind of dumb to have 22:30PM when ditching the PM is the whole point of 24hr
thank you! whmcs has always been ahead of its damn time by one day, this fixed it! 😉
cheers,