Support » Fixing WordPress » WordPress displays incorrect time

  • When I echo <?php echo date(“H:i:s”); ?> outside of wordpress it displats 16:00:00 (and this is correct time) but when I do the same in my wordpress theme file it displays 12:00:00, so the difference is exactly 4 hours. Why does this happen? I tried changing the timestamp setting from the admin panel but it didn’t help!

    Can anyone please help?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress displays incorrect time’ is closed to new replies.