Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding the 12th Business Day of a Month
Message
From
06/10/2000 12:22:19
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00426013
Message ID:
00426022
Views:
19
>I have the need to find the 12th business day of the month. I am not sure how to go about skipping the weekends in order to figure this out. Come to think of it I'll probably have to deal with holidays as well...uuuggggghhhhh!!! Can anyone with more brains than me point me in the right direction?
>
>TIA!
>George


George,

I'd just initialize a business-day counter, start at day one, move forward keeping track of the counter and Saturday & Sunday and when you get to #12 stop.

For the holidays you can have a second table and check it.

Several years back I wrote a bank holiday program but I don't know where it is now.. Sorry... But, it is do-able.

Best,
Best,


DD

A man is no fool who gives up that which he cannot keep for that which he cannot lose.
Everything I don't understand must be easy!
The difficulty of any task is measured by the capacity of the agent performing the work.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform