"between" query for two date objects are returning wrong output in Realm
<p>I'm storing purchase transactions with a time-stamp (the exact same date-time object when the purchase was made). When I try to extract the result from a starting &amp; ending date, It's giving wrong result.</p>

<p>Here's an example of the date objects/format I'm storing,</p>

<pre><code>27-01-2016
27-02-2016
10-05-2016
27-05-2016
</code></pre>

<p>And this is the query for retrieving objects between two dates,</p>

<pre><code>RealmResults&lt;Transactions&gt; result = realm.where(Transactions.class)
                .between("timestamp", start, end)
                .findAll();
</code></pre>

<p>Now for a given <strong>starting date: 01-01-16</strong> &amp; <strong>ending_date: 29-02-2016</strong>, It's returning a single object 
<strong>"27-01-2016"</strong> which is incorrect.</p>

<p>Is there anything missing from my query?</p>