Jump to:

3431 Posts in 1058 Topics by 734 members

Data Model Questions

SilverStripe Forums » Data Model Questions » List sort by month

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 380 Views
  • LarsE
    Avatar
    Community Member
    8 Posts

    List sort by month Link to this post

    Hi,

    I have a function like that:

    function GebdatList() {
    return DataObject::get("Steckbrief","","Geburtsdatum","","");
    }

    "Geburtsdatum" is a date-field and with this kind of sort the list is correctly sorted by the year.
    Now I would like to sort the "Geburtsdatum" by month. I have done a lot of trials but nothing help me.

    Have anybody an idea?

    Thanks!

    380 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.