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!

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.

| improve this answer | |
  • Thanks! - But where should I make that change, @toscho? – Astoria Apr 26 '13 at 15:02
  • 1
    @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. :) – fuxia Apr 26 '13 at 15:03
  • Oh, I see. It's TwentyTwelve, @toscho! – Astoria Apr 26 '13 at 15:04
  • @DimitriVorontzov See my update. – fuxia Apr 26 '13 at 15:09

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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