Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Work days between two dates - finally!
Message
De
09/06/2003 13:00:01
 
 
À
09/06/2003 09:27:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00797684
Message ID:
00798024
Vues:
35
Hi Alan,

Use DOW numeration.

**********************

Function call to resolve ambiguity with continuous work days:

WorkDays(dDate1,dDate2[,idowFirst[,nDaysWorkOnWeek]])

WorkDays(dDate1,dDate2) = WorkDays(dDate1,dDate2,2,5).

WorkDays(dDate1,dDate2,3,5). && work days : Tuesday - Saturday

***************************************

Function call to resolve ambiguity with not continuous work days:

WorkDays(dDate1,dDate2[,sDaysWorkOnWeekList])

WorkDays(dDate1,dDate2) = WorkDays(dDate1,dDate2,'2,3,4,5,6').

WorkDays(dDate1,dDate2,'2,4,6') && work Monday,Wednesday,Friday

Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform