Select Content by date
Posted: Mon Jun 01, 2009 5:11 pm
Hi,
I have made a form that users can add events. When i display all the events I am trying to order the events by the event date. More specifically I want to order the next upcoming event date that the user inputed.
For example todays date is 6-1-09 and there are events scheduled for 6-23-09, 6-3-09, and 7-12-09. The event should be order like: 6-3-09, 6-23-09, 7-12-09.
Also i would like select past event dates. Date that were schedule that have past the current date.
Any help would be greatly appreciated.
I have made a form that users can add events. When i display all the events I am trying to order the events by the event date. More specifically I want to order the next upcoming event date that the user inputed.
For example todays date is 6-1-09 and there are events scheduled for 6-23-09, 6-3-09, and 7-12-09. The event should be order like: 6-3-09, 6-23-09, 7-12-09.
Also i would like select past event dates. Date that were schedule that have past the current date.
Any help would be greatly appreciated.