Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculate a Person's Age
Message
De
14/04/2005 23:09:29
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01004954
Message ID:
01004975
Vues:
18
>Can someone either post or point me to one of the gazillion
>examples here?
>
>Thanks

Just the age in years is relatively simple with the following transformations:
? int((val(dtos(date())) - val(dtos(dob))) / 10000)
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform