Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reliably getting age from DOB and DATE()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00586710
Message ID:
00586711
Views:
22
This message has been marked as a message which has helped to the initial question of the thread.
Cy,

Just playing I came up with this one;
floor(INT((VAL(DTOS(ldDate))-VAL(DTOS(ldDob)))+10000)/10000)
ldDate is the day you want age for
ldDob is the date of birth
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform