Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reliably getting age from DOB and DATE()
Message
De
27/11/2001 19:07:47
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00586710
Message ID:
00586715
Vues:
23
This message has been marked as the solution to the initial question of the thread.
That's clever...just needs one minor change.

>Cy,
>
>Just playing I came up with this one;
>
floor(INT((VAL(DTOS(ldDate))-VAL(DTOS(ldDob)))+10000)/10000)<b> - 1</b>
>
>ldDate is the day you want age for
>ldDob is the date of birth
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform