Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Data Model Questions

List sort by month


Reply

405 Views

Avatar
LarsE

7 August 2011 at 11:41pm Community Member, 8 Posts

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!