ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Display the date with words?

April 13, 2009 6:03pm

Subscribe [2]
  • #1 / Apr 13, 2009 6:03pm

    Alohashirt

    49 posts

    Has anybody come up with a custom date variable that displays the date like so: April 14, 2009.

    Using this standard date variable ({entry_date format="%Y %m %d"})is fine for numbers only, but I am guessing that given EE’s blogging heritage, there’s also a way to display months or days as words.

  • #2 / Apr 13, 2009 6:05pm

    Ingmar

    29245 posts

    You have the full PHP date formatting options at your disposal…

  • #3 / Apr 13, 2009 6:14pm

    Alohashirt

    49 posts

    Thanks. Works like a charm. On Mondays like today, there’s nothing like a good %F to make me feel better! :cheese:

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases