Jump to:

3460 Posts in 1064 Topics by 739 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: 389 Views
  • LarsE
    Community Member
    8 Posts

    List sort by month Link to this post


    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?


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.