Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Days in month
Message
 
À
05/11/2007 06:38:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8
Divers
Thread ID:
01266644
Message ID:
01266646
Vues:
11
>Hi
>There is a way to know how many days I have in specific month(29/30/31)?
>(for example I call the fanction ?func?({09/09/2006})

Get the LastDay of this month:
? GetLastDay({09/09/2006})


FUNCTION GetLastDay(ldDate)
RETURN DAY(GOMONTH(ldDate,1)-DAY(ldDate))
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform