Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date of Birth to Age
Message
De
02/09/2005 07:49:56
 
 
À
01/09/2005 15:46:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8
Divers
Thread ID:
01045983
Message ID:
01046156
Vues:
20
>How can I convert a Date of Birth to an age?

If you need only age (in years), this will work:
dob = {12/23/1968}
age = Int((Val(Dtos(Date())) - Val(Dtos(dob)))/10000)
? age
Grigore Dolghin
Class Software.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform