Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is best way to calculate age
Message
 
 
À
21/09/2006 15:00:12
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:
01156152
Vues:
40
>If the year contained a February 29th, then they would be 1 year old and 2 days on the 1st of March...

So, they would be 1 year on Feb.28 and 1 year and 2 days on the 1st of March. They would never be 1 year and 1 day according this definition.

If we look from non-leap year into leap year, then I guess they would be 1 year 1 day on Feb. 29th, 1 year and 2 days on March 2. So here is no paradox.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform