Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How many weeks in a month
Message
De
05/11/2007 17:27:46
 
 
À
05/11/2007 17:19:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01266837
Message ID:
01266847
Vues:
16
>Now this function always gives me 5....but months not always have 5 (the most have 4...)..i.e. October gives me 5 week...and only have 4...
>
>
>CB

That's why I wrote that this depends on how you define a week. You have at least two things to consider. Do you mean WHOLE weeks? If so, every month has 4 months, without execption. But, if the week must start at a given weekday AND you want to count the whole weeks, you must include Set("Fdow") in your formula.

Sorry, I must call it a day, but I hope I have given you some useful tips.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform