WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to modify the date display of the post entries from current format:

April 26, 2013

to this:


Where in the code can I make this change?

Thank you in advance!

share|improve this question
up vote 2 down vote accepted
the_time( 'm/d/Y' );


the_date( 'm/d/Y' );

Note, the_date() will not print the same value twice. If a second post would get the same output you get nothing.

If your theme doesn’t set a fixed value, like Twenty Twelve …


… then the format is taken from your settings in Settings/General Settings:

enter image description here

You can change the format here, no need to change the theme.

share|improve this answer
Thanks! - But where should I make that change, @toscho? – Astoria Apr 26 '13 at 15:02
@DimitriVorontzov Where these functions are used in your theme and you want to change the output. I don’t know the theme, so I cannot be more specific. :) – toscho Apr 26 '13 at 15:03
Oh, I see. It's TwentyTwelve, @toscho! – Astoria Apr 26 '13 at 15:04
@DimitriVorontzov See my update. – toscho Apr 26 '13 at 15:09
Perfect, thank you! – Astoria Apr 26 '13 at 15:11

You can change the post date format in Settings > General Under Date Format the third option down for mm/dd/yyyy

you can also do custom formatting by using the Custom option and PHP date time notation: http://codex.wordpress.org/Formatting_Date_and_Time

share|improve this answer
Thank you, @ckpepper02! I was trying to do that the hard way. ;-) – Astoria Apr 26 '13 at 15:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.