<h7>{entry_date format="%F %m %Y"}</h7>

This is the code I have for my entries, I want to display the date as to when content was posted. I have 2 videos up right now, their actual dates are Feb 17th and Feb 25th. However with the above code, they both show up on my website as Feb 2nd. So its not a Daylight Savings Time (DST) issue.

I even tried to change entry in the code above to edit and I had the same results. Anyone have an idea of something I can try to get it to display the correct date of entry? Thanks in advance, I appreciate it!

  • 1
    <h7> isn't a valid HTML tag.
    – kmgdev
    Feb 25, 2013 at 23:45

1 Answer 1


Your first 2 tokens are both month tokens. Essentially you're outputting "February February 2013".

Try %F %j %Y or %F %d %Y instead. (See PHP date formatting tokens.)

  • That did it. Thanks a lot, probably wouldn't have overlooked that if it would have displayed the type or something. The messed up date made me think I had a problem with the actual tag itself. Thanks again, I appreciate it! Feb 25, 2013 at 16:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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