is whereBetween in laravel inclusive?
<p>In my database there are 4 students:</p>

<p>1st Student's created_at = 2016-05-12 02:23:51</p>

<p>2nd Student's created_at = 2016-05-27 07:37:45</p>

<p>3rd Student's created_at = 2016-05-29 07:40:29</p>

<p>4th Student's created_at = 2016-05-29 07:50:05</p>

<p>Why does my code only returns the 1st student?</p>

<pre><code>$students = Student::select('id as ID_NO', 'fname as Firstname', 'lname as Lastname', 'created_at')
                             -&gt;whereBetween('created_at', 
                              [Carbon::createFromDate(2016, 5, 12)-&gt;toDateString(),
                               Carbon::createFromDate(2016, 5, 27)-&gt;toDateString()])
</code></pre>

<p>The 1st and 2nd student should be returned. Is the "to" part inclusive in whereBetween or there's something wrong with my code ?</p>

<p>I need your help guys. Thanks in advance!</p>