MyBB Community Forums

Full Version: Time problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello ,
After moving my forum to another hosting, we are facing time problem . The clock is always 4 hour slow than selected time Sad
what is the problem ? Please help me to solve that great problem.
My forum url : www.mydreamtech.com
I will request you to register a account on my mydreamtech to check the problem live...
Hi,

Please check the correct timezone for your account in the User CP > Edit Options page.

If that fails, can you please upload a file (call it time_test.php) to your website and link us to it:
<?php
echo "GMT: ".gmdate("r");
echo "GMT +10:", gmdate("r", time()+10*60*60);
?>

Chris
Excuse me .
You didn't tell where to upload the time_test.php file ? I meant in which folder ?
And how to use that code you gave ?

I tried your first option but same result Sad
It doesn't matter where. How do you use it? Chris already said... Call it from your browser.
Ok i made it : http://mydreamtech.com/forum/time_test.php

Now what to do ??
Plz answer...
Thanks
The host is probably 4 hours off your old host. They are in different time zones most likely. Maybe Chris will give you a good solution on how to solve this.
Did you update the timezone offset in the Admin CP after moving host?
I asked my service provider about that. He replied it is their problem.....
I mean your forums Admin CP, not your webhosts.
Your server time is out.

The script above is reporting my timezone (GMT +10) as being 6:35am, whilst it is really 10:38am. Also GMT time would be 12am (midnight) but is reporting 8pm.
Quote:GMT: Fri, 26 Oct 2007 20:35:19 +0000
GMT +10Confusedat, 27 Oct 2007 06:35:19 +0000
Pages: 1 2