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.

orderby date...negative timestamps

December 13, 2012 7:58am

Subscribe [1]
  • #1 / Dec 13, 2012 7:58am

    Ralph123

    26 posts

    Hi Guys,
    I am building a timeline and need to orderby date. Problem is that if I have a negative timestamp say -164700000 (Oct 12 -1964) the channel entries orderby doesn’t work. Any ideas of a fix. It only orders positive timestamps properly

    <ul>
    {exp:channel:entries channel="timeline" orderby="timeline_date" sort="asc"}
    <li>{title}-{timeline_date format="%d/%m/%Y"}</li>
    {/exp:channel:entries}
    </ul>

    Thanks

    ***Disregard - My bad. It does work 😊

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

ExpressionEngine News!

#eecms, #events, #releases