/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * Get working days between two dates, with custom off day * * @param Date $startDate End Date * @param Date $endDate To date * @param Array $holidays Week Number in Single dimension array * @return integer */ function getWorkingDays_customOffDay($startDate, $endDate, $holidays) { $day = 86400; // Day in seconds for ($d = 0; $d < $numDays; $d++) { } } }
Comments
