Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A twist on age calculation.
Message
From
01/01/2005 18:26:40
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00973330
Message ID:
00973665
Views:
30
>Jim,
>
>The logic in my Age Calculator (file #25738) might be useful here. Your problem is the inverse of what that class is designed to do, but it might be fairly easy for you to modify it for your purpose.
>
>-Rick
>
>
>>OK, great-grand aunt Emma died 5-Feb-1902, age 33 years, 6 months, and 18 days.
>>
>>What was Emma's DOB?

Hi Rick,
can you check for :
Begin = '10/31/1986'
End   = '03/29/2044'
* Expected
Y=57,M=4,D=29
* Observed
Y=57,M=5,D=0
Fabio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform