Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How many weeks in a month
Message
 
 
À
06/11/2007 10:41:51
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:
01266998
Vues:
15
This message has been marked as the solution to the initial question of the thread.
>Yes, I saw your thread, and thanks Sergey. I tested it, but if fails in some months. example in Abril/2007 it gives 4 weeks, when it have 5...
>

Correction
lnWeeksPerMonth = MOD(WEEK(GOMONTH(ldFirstOfMonth,1),0,2)+52 - WEEK(ldFirstOfMonth,0,2), 52)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform