MyBB Community Forums

Full Version: PHP SERVER TIME
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Option to use the php web server time aswell as the timezone input option.
I'm not sure I understand exactly.
http://php.net/manual/en/function.date.php

Default server time, the ability to use it stand alone and not specify the timezones.
I don't see much use to incorporating this feature, correct me OP?
What about setting the timezone to your server's timezone?
Why? if you want to use timezones, then you need to use GMT as the base. MyBB attempts to do this automatically by setting PHP time to UTC. Then all user time settings can be correctly applied.
(2012-09-04, 07:21 PM)Pirata Nervo Wrote: [ -> ]What about setting the timezone to your server's timezone?

That's what I'm getting at. The option to use the servers time zone instead of setting one.
I don't think you understood what I said. Doing that is useless when you can already set the timezone to the one your server uses...you just need to know which one your server uses.