added logic to find all events occuring all or partly on a given date