Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sorting menu by Published Date
#2
Ok i managed to partially fix this using pubdate, but the pudate data is stored in this format in this way <pubDate>Thu, 01 Oct 2009 17:26:15 +0100</pubDate> so it sorts by the first data in that line which is the day rather than the date.

Does anyone know how to refine this so it searches by date then time?

this is the line of code in question
$pagesSorted = subval_sort($pagesArray,'pubdate');

Thanks
Reply


Messages In This Thread
Sorting menu by Published Date - by rab - 2009-10-02, 02:38:08
Sorting menu by Published Date - by rab - 2009-10-02, 07:32:26
Sorting menu by Published Date - by n00dles101 - 2009-10-02, 07:49:14
Sorting menu by Published Date - by rab - 2009-10-02, 08:02:20
Sorting menu by Published Date - by n00dles101 - 2009-10-02, 08:31:58
Sorting menu by Published Date - by rab - 2009-10-02, 08:43:18



Users browsing this thread: 1 Guest(s)