Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Days in a Month
Message
De
24/02/2003 15:56:36
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00757135
Message ID:
00757210
Vues:
16
how about

Day(GOMONTH(date(Year(tDate), Month(tDate), 1), 1) -1)




>Glenn,
>
>It will not work. For instance, try tdate={^2003-01-31}
>
>>You can try:
>>
>>Function DaysInMonth
>>lpar tDate
>>return day(gomonth(tDate,1)-day(tDate))
>>
>>
>>Glenn
>>>Is there a function available to calulate the # of days in a given month from a date() function?
>>>
>>>Jeff
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform