Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is best way to calculate age
Message
 
 
To
21/09/2006 13:00:37
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01155605
Message ID:
01156090
Views:
28
>Naomi,
>I might also raise debates which one is correct:
>Birth = {^1988/2/28}
>I have other revisions of this code but I didn't even get to them and do not care with the correct solution, my point was your offending only. Thanks.
>Cetin

Both 1988/2/28 and 1988/2/29 will be 1 year on 1989/2/28. They will turn one year and one day on the March 1st. That's common sense. I agree what knowing person's age will not give us his/her birthday correctly for leap years (it may be one of the two possible dates), but knowing the birthday and the exact age should give us the precise date. Would you agree on the last statement?

I'm not sure about your "my point was your offending only" remark.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform