Function to pull all events for given time period