TurfSite Manila

Internet + Computer = Life! (version 3.20 build update 21012012)

Adjusting WHMCS Time Zone

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

Category: Tips & Tricks
Tag: ,
  • Anil says:

    Thanks for this, very helpful for Me

    2 December 2009 at 20:49
  • ramadoni says:

    thank you very much, it’s very useful for me… =)

    6 January 2010 at 11:35
  • whmcs themes says:

    Good post and nice design, is this a regular template?.

    2 February 2010 at 13:13
  • oim says:

    Thank’s! Great :)

    18 February 2010 at 21:13
  • Kowloon Hosting says:

    That was very useful, we were looking for this info to adjust our timezone to Hong Kong

    3 May 2011 at 14:55
  • Topher says:

    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

    28 September 2011 at 10:15

Your email address will not be published. Required fields are marked *

*