Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculate number of months
Message
 
À
27/08/2002 14:33:39
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00694170
Message ID:
00694182
Vues:
15
This message has been marked as the solution to the initial question of the thread.
Something like:
?(year(y)+month(y)/12-year(x)-month(x)/12)*12

>Using VFP7.
>
>How can I calculate the number of months between 2 dates?
>
>x = {^2001/08/01}
>y = {^2002/08/31}
>
>Want to return 12 months. How can I do this?
>
>Thanks,
>
>Jerryt
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform