select events by date ranges