Support » Fixing WordPress » Date and time formatting isn’t working

  • Resolved Gentist


    I tried changing the default date and time format, and while it displays correctly under Options->General (as the example), posts still use the old (original default) format.

    I don’t know what versions of PHP and MySQL my webhost is running, though I could find out if it’s necessary.

Viewing 3 replies - 1 through 3 (of 3 total)
  • What theme are you running? IIRC, some themes override how dates and times are displayed. (They certainly do over in land.)

    I ran the default theme for 2.0.3. I’ve now changed theme but the same thing happens. If this is a theme problem, what would I need to change in order to fix it?

    Edit: Nevermind, I think I found it. Thanks for the hint, though it makes me wonder why exactly there is an option to change it if it doesn’t work.




    gentist, the option that exists within the admin area is not for changing how the the date/time is displayed, but for taking into account that you might be in CST and your host might be in GMT, in other words, its for handling time offset, not display, per se.

    The disply is handled entirely by how the theme has it set up.

    <?php the_time('F jS, Y'); ?> etc (however you want it)..


    <?php the_date('D','M','Y');?>, etc (however you want it)…

    see for more info

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Date and time formatting isn’t working’ is closed to new replies.