Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A twist on age calculation.
Message
 
 
À
30/12/2004 13:15:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00973330
Message ID:
00973381
Vues:
32
This message has been marked as a message which has helped to the initial question of the thread.
Hi Jim,

The days part is calculated last so I guess it should be aplied first. See if this is better.
dob = GOMONTH(dt - 18, - (33*12+6))
dob = GOMONTH(dt-dd, - (yy*12+mm))
>
>I managed to find some data to cross check your solution - works dandy. Thanks again.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform