"john" <jo**@test.comwrote in
news:T8********************@casema.nl:
I've searched google but can't find what I need.
In my form I have a field Date Of Birth. Netxt to that field I
would like to put a calculated field that shows the age of
that particular person, calculated from today.
What's the easiest way of doing this?
Thanks in advance,
john
age = datediff("yyyy",dob,date())
for a more accurate age, use the reknowned Allen Browne's age()
function which handles a subtle error in the expression I wrote
above. It also lets you specify a date different from today if you
need to.
http://allenbrowne.com/func-08.html
--
Bob Quintal
PA is y I've altered my email address.
--
Posted via a free Usenet account from
http://www.teranews.com