Originally written in VB by Michael Red (SEE ACCESS FAQ) Adapted from VB to VFP by Blindpete
I found this function in ACCESS FAQ. I thought it usefull and ported it to VFP.
The function returns the number of working days between two dates. It excludes Holidays and weekends. The Holidays portion is defined by 2 arrays. Both arrays are internal to the function itself. 1 Array is holidays that never change. Like Xmas (12/25/XXXX) The 2nd array is floating holidays that change. Like labor day (1rst Monday in September). Array records can be added to include additonal holidays. The function has notes that explain how to do this. Anyhow... Enjoy!