This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Count the number of working days between two dates. | |
* | |
* This function calculate the number of working days between two given dates, | |
* taking account of the Public festivities, Easter and Easter Morning days, | |
* the day of the Patron Saint (if any) and the working Saturday. | |
* | |
* @param string $date1 Start date ('YYYY-MM-DD' format) |