calculate number of days between 2 dates in php
<p>I need to calculate difference between 2 dates here is my dates </p>

<pre><code>$start = strtotime('17/05/2016');
$end = strtotime('12/05/2016');
</code></pre>

<p>I have tried </p>

<pre><code>  echo $days_between = ceil(abs($end - $start) / 86400);
</code></pre>

<p>But it shows output as 17140</p>

<p>Hep to find the number of days between 2 given dates </p>