6

How do I display my entry post date, formated as "May 24, 2015"?

I know this is a very basic question, but I can never find these easy answers in either the Craft or Twig documentation.

20
{{ entry.postDate | date("M d, Y") }}

Inside the date filter, you use the date formatting values documented in the PHP date() documentation.

Also, see Craft's DateTime documentation, and the Twig date() filter documentation for more information on the topic.

| improve this answer | |

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.