Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding the 12th Business Day of a Month
Message
De
06/10/2000 12:22:19
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00426013
Message ID:
00426022
Vues:
18
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform