Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a function that returns the number of days in a
Message
De
10/11/2000 14:51:45
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00440276
Message ID:
00440414
Vues:
17
>< snip >
>>>
>>>lnDaysInMonth = GOMONTH(ldDate-Day(ldDate)+1,1)-1
>>
>>BTW, that gets the last day of the month, not the number of days.
>>
>>lnDaysInMonth = DAY(GOMONTH(ldDate-Day(ldDate)+1,1)-1)
>>
>>gets # of days.
>
>Picky, picky :)

Well, this whole election thing has got on edge <g>
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform