iOS 8/9 CalendarEvent predicateForEventsWithStartDate EndDate not working correctly? <p>Is it possible that the function: <code>predicateForEventsWithStartDate(startDate: NSDate, endDate: NSDate, calendars:[EKCalendar])</code> is not working as described in the documentation!? The enddate seems to work as expected, taking into account the day and the time of the date. But when retrieving the events for the predicate, events being on the startdate X (and later than the time of the start date) are never fetched. As soon as I set the startdate to 23:59 the previous day of X, all events of day X are fetched as expected. </p> <p>Has anybody experienced this behaviour? Or is the documentation not correct and this is the expected behavoir? </p> <p>Note: Tried on Iphone 6(iOS8) / Ipad mini 3(iOS8) / iPhone 5 (iOS 9)</p> <p>EDIT: here is the documentiation of the method:</p> <pre><code>func predicateForEventsWithStartDate(_ startDate: NSDate, endDate endDate: NSDate, calendars calendars: [EKCalendar]?) -&gt; NSPredicate </code></pre> <p>Creates and returns a predicate for finding events in the event store that fall within a given date range.</p> <p><strong>startDate</strong><br> The start date of the range of events fetched.</p> <p><strong>endDate</strong> The end date of the range of events fetched.</p> <p><strong>calendars</strong><br> The calendars to search, as an array of EKCalendar objects. Passing nil indicates to search all calendars.</p>