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:

  1. Open the file configuration.php for editing.
  2. 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


ABOUT THE AUTHOR

Robert “Bob” Reyes is a technologist, an ICT Consultant and Tech Speaker, a certified Google IT Support Specialist, and an Open Source advocate representing the global non-profit Mozilla (makers of Firefox) in the Philippines. Bob is a Technology Columnist for the Manila Bulletin Publishing Corporation and an aviation subject matter expert contributor for Spot.PH.

Follow The Filipino Tech Explainer on Facebook and X/Twitter.

If you liked my articles or any of the contents or if The Filipino Tech Explainer has helped you in any way, you can buy me a coffee and share your thoughts. Help me continue producing awesome articles by supporting my website. Maraming salamat po! Thank you very much!

What’s your Reaction?
+1
0
+1
0
+1
0
+1
1
+1
0
+1
0
+1
0
7 thoughts on “Adjusting WHMCS Time Zone”
  1. 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

  2. thank you! whmcs has always been ahead of its damn time by one day, this fixed it! 😉

    cheers,

Leave a Reply