Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How many Sundays in a month?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00487391
Message ID:
00487430
Vues:
12
nSundays = int(((gomo(mydate-day(mydate)+1,1)-1) ;      && last of month
              - (mydate-day(mydate)+1) ;                && first of month
              + dow(mydate-day(mydate)+1))/7)           && first day of week + 1
I guess this will also depend on the SET FDOW setting.
Doru
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform