MyBB Community Forums

Full Version: Time Zones
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I live in New Zealand and I have set my time zone to GMT +12 hrs.

It is currently 11:49am here, but my board says 11:49PM?

The date also says 8-18-2007 when I want it to say 19-8-2007, and I do have my date format d-m-Y?

I also don't want my users to have access to change their time zones, this is a site for a school and I don't want to give students too many options.

Any help is greatly appreciated.
Thanks
LTC
Lets see... First, I would suggest change it to -12. That would give the same time, but switch it to AM instead of PM. I'm not sure about the second problem. As for the last bit, that would probably require editing of the core files.
Yes, for the first problem try GMT - 12.

d-m-Y is the code you need for the date (see http://www.php.net/date for more).

As for the last bit:

Admin CP > Templates > Expand *Your Theme Templates* > usercp_options

Remove
<tr>
<td><span class="smalltext">{$lang->time_offset}</span></td>
</tr>
<tr>
<td >{$tzselect}</td>
</tr>