Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Very fast age calculation
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00396199
Message ID:
00396412
Views:
10
Alex,

Michel is right:
*------------------------
Because it assumes you had your birthday already this year. For example:

ldBirth={^1975/9/1}
lnAge=year(date()) - year(ldBirth)

lnAge would equal 25, even though the age is still 24 (for a month or so).
*-------------------
Previous
Reply
Map
View

Click here to load this message in the networking platform