Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function returning total number of days in month
Message
 
À
28/03/2006 07:25:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01108295
Message ID:
01108302
Vues:
13
There is no function, but you can try this.

FUNCTION DaysOfMonth(pnMonth, pnYear)
pnMonth=IIF(empty(pnMonth), month(date()), pnMonth)
pnYear=IIF(empty(pnYear), year(date()), pnYear)
RETURN Day(goMonth(date(pnYear, pnMonth, 1), +1) - 1)
Stuart Reid

True nobility lies not in being superior to another man, but in being superior to one’s previous self
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform