Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Age Calculation
Message
From
11/08/2000 04:56:09
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00403635
Message ID:
00403809
Views:
15
>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


I second on that :) I can't think of any newborn section that would like to see a baby as 72 days old on 03/01/2000 when s/he was born on 02/29/2000 with a one liner :)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform