>Will this always work?
>
>age = int((date() - ctod(dtoc(birthday)) / 365.25)
>
>That is to say, will the age always look right to a user?
>
>I'm concerned about people born march 1 of a leap year and people born 12/31/{year before leap year}
>
>Is there a better way to calculate the age?
>
>Thanks! :-)
I published an AGE() function which you're welcome to use if it works for you. It's available on my FoxPro Developer's webpage at
http://www.prairienet.org/ita/foxpage.htm.
Rick Borup, MCSD
recursion (rE-kur'-shun) n.
see recursion.