Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function for days in the month
Message
De
05/01/1999 18:54:27
 
 
À
05/01/1999 18:42:23
Shane Gilbert
Oklahoma State Department of Education
Norman, Oklahoma, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00172969
Message ID:
00172971
Vues:
27
Shane,

You could use something like this:

Function NumberOfDays
lparameters xdate
return gomonth(xdate,1)-xdate

where xdate is any date in the month you want to calculate the number of days
of.

This is just an on the fly answer that as not really been tested but I think
should work in most conditions.

:)

Pascal
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform