Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is best way to calculate age
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01155605
Message ID:
01155672
Vues:
26
>>>>See Re: What is best way to calculate age Thread #1155605 Message #1155645
>>>>
>>>>What should this class return for today and 02/29/1988?
>>>
>>>18 years, 6 months, and 22 days.
>>
>>How did you calculate that? BTW, it returns 16 days.
>
>It returns 18,6,22 as I stated. Are you using the latest version? This class was updated Jan. 2005. The old one may have produced a different result. See the documentation for explanation of how this class does its calculations.

Yes, I downloaded it a few minutes ago. I put 9/14/06 instead of today's date. Anyway, based on the age how do you calculate date, and do your both results match?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform