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:
00053813
Vues:
30
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform