Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Month Calculations
Message
De
24/04/2001 07:56:58
 
 
À
24/04/2001 02:28:35
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00498208
Message ID:
00498931
Vues:
14
>>Hi larry
>>if you still need an other option...
>>
>>dif = (year(date2)-year(date1))*12+(month(date2)-month(date1))
>>
>>Mario
>
>Mario, Glenn and Michael
>IMHO your functions are overseeing the fact that a date also has a day component. With your function it would be at least a month provided months are different. ie :
>date1 = {^2000/01/31}
>date2 = {^2000/02/01}
>Cetin


Hi Celtin,

You are absolutely correct, but the original problem description inferred that days were not a consideration. Perhaps Larry can clear this up.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform