I need something like this
$today = date("m-d-Y");
$otherdate = "05-03-2013";
//Some math here
//echo the difference between the two dates in days
I've tried using strtotime but it doesn't work correctly and usually says something like the difference was somewhere around 15k days (which obviously isn't right)
Any help?