Forum Time

Forum
Last Post
Threads / Messages

SilverDragonTears

I am your Nemesis.
Premium Member
Joined
Jun 1, 2011
Messages
1,113
Points
36
Mysidian Dollar
51,802
Apparently it has something to do with the host and it won't give me 12 hour format without the extra 0. Where can I change this?
 
I'm assuming you mean with myBB. It uses the php date() function to tell time, so to have it in 12 hour format without the leading 0, you go to the board settings in the adminCP -> Date and Time formats and you'll see "h:i A" in the time format. Change it to "g:i A" and it will get rid of the extra 0.
 
3354oxl.png

This is my settings, it was already default.

Maybe this site will help if that's not working.
http://php.net/manual/en/function.date.php

You might have the H capitalized in your settings, that would make it 24 hour
Or in the case that you're wanting, you might have a capital G rather than lower case g. For 12 hours without the leading 0
 
Last edited:
If you switch it back to h, does it go back to 12 hour with the leading 0?
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,277
Messages
33,122
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Latest Posts

Top