Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number of months between 2 dates
Message
De
11/07/1997 20:09:07
 
 
À
11/07/1997 20:01:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00039633
Message ID:
00039638
Vues:
28
lnMonths=(year(ldLast)-year(ldFirst))*12+month(ldLast)-month(ldFirst)-1

This doesn't count the days from the 1st and last months.

Vlad

>Any simple way to detect the number of months between 2 dates?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform