//휴일을 제외한 업무 일 수 계산 function getWorkingDays($startDate, $endDate, $holidays){ $endDate = strtotime($endDate); $startDate = strtotime($startDate); $days = ($endDate - $startDate) / 86400 + 1; $no_full_weeks = floor($days / 7); $no_remaining_days = fmod($days, 7); $the_first_day_of_week = date("N", $startDate); $the_last_day_of_week = date("N", $endDate); if ($the_first_day_of_week