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.

Displaying custom date headers

June 05, 2008 7:19am

Subscribe [2]
  • #1 / Jun 05, 2008 7:19am

    Joe B.

    1 posts

    Hey guys,

    I’m starting work on a support ticket system and for each day I currently display the date header, and then all the tickets for that date below it.

    What I’m wondering is if there’s any way to display the dates in the following format for the date headers:

    “Today, Yesterday, 2 days ago, 3 days ago, ... up to 1 week ago.”

    I’m thinking that there’s got to be a way to do it using EE, and I’m sure there’s others who’d be interested in displaying their data the same way so it would make for a good Wiki addition.

    Anyways, any help would be greatly appreciated, and thanks in advance..

  • #2 / Jun 05, 2008 7:22am

    Ingmar

    29245 posts

    Take a look at this plugin. Might do what you want, or at least get you started.

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

ExpressionEngine News!

#eecms, #events, #releases