$arrMyDates = array("2002-02-09", "2002-02-10", "2002-02-14", "2002-02-15", ...)
$timeFrom = strtotime("2002-02-09");
$timeTo = strtotime($("2002-02-23");
$arrDateSpan = array();
for ($n = $timeFrom; $n <= $timeTo; $n += 86400)
{
$strDate = date("Y-m-d", $n);
array_push($arrDateSpan, $strDate);
}
$arrMissingDates = array_diff($arrDateSpan, $arrMyDates);
I think this could work :-)