This content has been marked as final.
Show 2 replies
-
1. Re: Query (date in the past,future)
konami.bankyaw.gmail.com Sep 4, 2011 10:14 PM (in response to mimusz)Please post your controller and view codes.
-
2. Re: Query (date in the past,future)
gebuh Sep 5, 2011 3:30 PM (in response to mimusz)If I understand what you're looking for, if you put dates into restrictions it would look something like:
restrictionString = { "lower(startDate) >= #{someDateInTheFuture}", "lower(startDate) <= #{someDateInThePast}", };
this would give you all dates after someDateInTheFuture and before someDateInThePast.
Thoelower
stuff is prolly unnecessary.