Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Age Calculation
Message
From
11/08/2000 08:39:45
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00403635
Message ID:
00403854
Views:
13
Rick - I could have used that awhile back. Exact age is not an easy calculation to get right. Here in Peds we usually report ages in years and months when we do statistics, and I spent a whole afternoon getting my function to come out right!

I'll be using yours next time I need one!


>The one- and two-liners are OK if you're not worried about being exactly right all the time. If you need more precision, I posted an AGE function that returns the exact age in years, months, and days. You can find it in the UT files section, and also on the FoxPro Developers' page of my web site (see the link in my sig line).
>
>>Is there a simple VFP age calculation Function ? EX: something like AGECALC({date1},{date2}) ?
>>
>>Thanks for your help
>>Stephen J. Hunt
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform