Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number of months between 2 dates
Message
De
11/07/1997 21:29:55
 
 
À
11/07/1997 20:42:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00039633
Message ID:
00039648
Vues:
35
>>lnMonths=(year(ldLast)-year(ldFirst))*12+month(ldLast)-month(ldFirst)-1
>>
>>This doesn't count the days from the 1st and last months.
>
>Thanks a lot for your help on those date functions.
>
>You may access your account configuration, click on the bottom link to get all your forum activities and you'll be able to proceed with the list I just build with all those date functions.

This is cool, but where's the monthly repartition? :)

>BTW, you may create a FAQ for this small formula to get the number of months. This is really helpful.

OK.

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

Click here to load this message in the networking platform