>Is there a way to have VFP calculate weekdays only? I would like to enter a begin date and end date and have Fox give me the number of weekdays during that period.
>
>Laquiva
http://fox.wikis.com/wc.dll?Wiki~Weekdays~VFPDoing it by counting is too easy to code and it runs too slowly. The whole point is to create something encapsulated. Then you can make it as correct, fast, easy to understand and easy to maintain as possible.