WordPress.org

Support

Support » How-To and Troubleshooting » Incorrect time displaying

Incorrect time displaying

  • I have the correct timezone selected in my General Settings, i.e. UTC time is 2013-04-30 13:09:45 Local time is 2013-04-30 14:09:45, but on my website the time displays as Tuesday, April 30, 2013 13:09. Can anyone tell my why it does not display the London time set in the settings?

    The coding used on the header where it is displayed is:
    <?php
    setlocale(LC_ALL, WPLANG);
    echo strftime(“%A, %B %d, %Y %H:%M”);
    ?>

    If I need to change this display the correct time can someone please tell me exactly what it should say? I have very limited html knowledge so need to be spoon fed here please.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Incorrect time displaying’ is closed to new replies.