Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get the number of days in a month
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00052998
Message ID:
00053817
Vues:
35
>>>>How can I get the number of days in a month.
>>>
>>>
>>>Lpara date_ld
>>>return GoMonth(date_ld,1)-date_ld
>>
>>It doesn't work. For example: January 31, any year. It gives you 28 (29 for leap years) instead of 31.
>>
>>Vlad
>
>
>How about this one ?
>
>? DAY(GoMonth(date_ld,1)-DAY(GoMonth(date_ld,1)))
>
>
>Darrel

This is what I said this morning and is almost the same Alessio Iancarelli said a few days ago. :)

Now I see there are 2 threads on the same subject created by the same user. :(

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform