Function to calculate work days between 2 dates
Posted on 2003-12-10
The function should take a start date and an end date in the format DD/MM/YYYY as parameters. It has to return the number of work days between those two dates, keeping in mind that weekends are not work days. The following are also not work days: 1/1, 7/4, Thanksgiving and the day after Thanksgiving, and Christmas. The holidays that are not fixed dates makes this especially difficult for me. I would be most grateful if someone could provide me with such a function. Thanks!