Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
End of the Month Calculation
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00457305
Message ID:
00457320
Vues:
22
>>How do I calculate the end of the Month for any given year and month?
>

>
ldDate = Date()
>ldEOM = gomonth(ldDate-day(ldDate)+1,1) - 1
It's even simpler for month and year
lnYear = 2000
lnMonth = 2
ldEOM = Gomonth(Date(lnYear, lnMonth, 1),1) - 1
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform