function rangeDate($startdate,$enddate){
return array_map(function($v){return date('Y-m-d',$v);},range(strtotime($startdate), strtotime($enddate),24*3600));
}
function rangeDate($startdate,$enddate){
return array_map(function($v){return date('Y-m-d',$v);},range(strtotime($startdate), strtotime($enddate),24*3600));
}