MyBB Community Forums

Full Version: Time Setting is fast
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The time shown for posts is 10 minutes fast.
I noticed this during the registration process while selecting the TimeZone setting. Is there a fix for this?

Also, when I tried to start a New Thread in this forum, I got an "Invalid Forum" error. I had to click on the last message posted and start this thread from there.
check you server's time first
The server's time must be right because the other BB I'm testing shows the correct time. How would I check it anyway? Thanks!
MyBB directly pulls the current timestamp from the server using the gmdate function - which returns the time at GMT according to your servers timezone.

For example, the following script:
<?php
echo gmdate("r");
?>

Returns the date in a similar way to MyBB - directly from the server.

Other ways to check the time are, if you have SSH/Telnet or some form of shell access to the server to type in 'date' at the commandline which will print out the current date/time on the server.