Hey everyone! I'm having some problems with the time being off when I use this code:
<?php echo gmdate("l, F j, Y g:h A",time()); echo "<br><br>"; echo date("l, F j, Y g:h A",time()); echo "<br><br>"; echo time(); ?>
You can see it on my site here: http://codered.xmshosting.net/time.php
It should show the time, but it's off and only shows times like 3:03, 6:06. The thing is, I have a phpbb forum set up on there too and the time is shown correctly there. Am I doing something wrong? Thanks again!:mrgreen:
EDIT: My god I'm an idiot, I put g:h instead of g:i.