Jump to content

Date/time problem


brandom9

Recommended Posts

Hello,

 

After update a server to a latest software (thru Custombuild/Directadmin), there is a problem with the date/time displayed. The date/time in WHMCS are not the same as the date/time displayed in the server.

 

In our server shows :

[root@server ~]# date

Fri Feb 17 04:49:58 MYT 2012

 

This is what shown in WHMCS:

Thursday, 16 February 2012, 20:50

 

I've tried to reboot he server, but still failed to fix it.

 

Pls help me.

 

Thanks

Link to comment
Share on other sites

What do you have the system time (CMOS) set to? I wonder if WHMCS is picking that up rather than the OS time.

I think, the setting is correct. But I cannot re-check now.

 

 

Try to add the following line in configuration.php

 

date_default_timezone_set('Europe/Oslo');

 

You can see the TimeZones at the following URL:

http://php.net/manual/en/timezones.php

Your guidelines are working. It's OK now. Many thanks for you help

 

 

Thanks

Link to comment
Share on other sites

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