Jump to content

Time in WHMCS


Recommended Posts

is there a setting for the time within WHMCS?  I can't find one.

My server time is BST (currently) and is showing the correct time.

WHMCS is showing GMT - so one hour behind.

Not noticed this before the upgrade to 7.6, so not sure if it was wrong then as well.

Any thoughts?

Link to comment
Share on other sites

Hi @isdoo

https://docs.whmcs.com/Changing_Timezone

The time under which your WHMCS installation will run is based upon the server clock and the timezone setting in your PHP configuration. Therefore to change the time displayed in WHMCS there are two options:

Change the server clock directly
Edit the PHP configuration specifying a different timezone.
Changing the server clock may not be desirable if clients are hosted on the server and would require root access, so option 2 is the most viable for the majority of users. A number of hosting providers allow the PHP configuration to be changed on an individual directory by creating a php.ini file within the WHMCS directory. In that situation the following line could be added:

Quote

date.timezone=Europe/London

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

Please contact your hosting provider/server admin if you are unsure how to customise the PHP configuration of your server.

Link to comment
Share on other sites

  • 2 weeks later...

Can't find any time setting locally. 

Configuration.php doesn't have a setting
no local php.ini file

If I use terminal into the server and run date it is correct
if I use terminal directly into the account it is correct

date
Fri Sep 28 12:45:34 BST 2018

However WHMCS is running on GMT and not BST so everything is run an hour late.

It is not showing the server time or the account time - both of which are the same.

It has to be WHMCS - I think!

Link to comment
Share on other sites

2 hours ago, isdoo said:

It is not showing the server time or the account time - both of which are the same.
It has to be WHMCS - I think!

this sounds pretty normal to me - and it's why i've got that line above added to my configuration file.

in any event, the clocks go back in four weeks time, so BST won't then exist for 5 months after that!

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated