Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number of months between 2 dates
Message
De
11/07/1997 20:42:46
 
 
À
11/07/1997 20:09:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00039633
Message ID:
00039642
Vues:
29
>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.

BTW, you may create a FAQ for this small formula to get the number of months. This is really helpful.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform