I have two dates a check_in date and a check_out date. I want to find the difference between the two.
the dates are in the form(2002-04-13) and (2002-05-14) I want the number of days between.
help please!
Start your search here:
<http://www.php.net/manual/en/function.strtotime.php>
I wrote this jus the other day
function DaysBetween($Start,$End){ $DaysBetween = StrToTime($Start)-StrToTime($End);
$DaysBetween = abs($DaysBetween/60/60/24); return $DaysBetween;
}