chick Posted October 27, 2007 Share Posted October 27, 2007 I looked in knowledge base and did a search here but did not come up with any resolve. My whmcs admin panel runs 1 hour behind the real time. When I log into the admin are it's displayed like this Saturday | 27th October 2007 | 2:19pm which is fine...... but the TIME is an hour earlier than it really is. Could someone tell me how to correct the whmcs time please. Thanks for any help. 0 Quote Link to comment Share on other sites More sharing options...
isdoo Posted October 27, 2007 Share Posted October 27, 2007 Surely this is taken from your server time. Actually thinking about it there is no time adjustment within WHMCS AFAIK. Are you on your own server or a shared one? SSH into your sever and type date - this will probably show 1 hour out so will be set to a timezone next to yours. 0 Quote Link to comment Share on other sites More sharing options...
chick Posted October 27, 2007 Author Share Posted October 27, 2007 Yes a reseller account at Hostgator. So I have no control over this? oh damn, now to go over to hostgator and see what can be done. Thank you. 0 Quote Link to comment Share on other sites More sharing options...
chick Posted October 28, 2007 Author Share Posted October 28, 2007 This what hostgator said, and as a note many people have servers which are not in their time zone but need to have the correct time from where they actually do business, such as off shore sites. We all aren't in control of our own owned server. I'm in EST, Massachusetts, my server with HG is in CST, Texas. Hello Denise, In order to change the system time zone you will need your own dedicated server or configure your WHMCS script to dynamically change the timezone when displaying dates and times. Any PHP script, such as WHMCS, can use standard PHP functions to accomplish this, but I am not sure if WHMCS supports this or not. The following is the correct date and time for the server as its physical location is in the Texas, thus U.S. Central Time. [root@commander ~]# date Sat Oct 27 18:29:22 CDT 2007 For further assistance with WHMCS please contact the developer directly as they are better equipped to add new features or change the behavior of how WHMCS displays dates and times: http://support.whmcs.com/ 0 Quote Link to comment Share on other sites More sharing options...
Daniel Posted October 28, 2007 Share Posted October 28, 2007 This is now possible. Open your configuration.php file and add the following: $timeoffset = "5"; Replace the 5 with however many hours you need to adjust by. This is not fully supported though but it should work to adjust the time shown on support tickets and orders. Matt 0 Quote Link to comment Share on other sites More sharing options...
chick Posted October 28, 2007 Author Share Posted October 28, 2007 Is there anything I should refresh after that? Because I did do that, and noticed the time did not change in the 'upper right' corner of the 'admin panel'. I m still 1 hour behind and it's not daylight ST yet. 0 Quote Link to comment Share on other sites More sharing options...
Daniel Posted October 28, 2007 Share Posted October 28, 2007 I don't think it will change the time displayed in the admin, just in tickets and orders as Matt said. 0 Quote Link to comment Share on other sites More sharing options...
rodeoXtreme Posted November 15, 2007 Share Posted November 15, 2007 Dang! Thanks Matt; I am in the eastern time zone and I added the following to make it work: $timeoffset = "-5"; I then logged out of the Admin Site and then relogged it WORKS! Thanks Keith 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.