From: John W. Vinson on
On Wed, 20 Jan 2010 21:13:30 -0500, "Biss" <raleygroupky(a)hotmail.com> wrote:

>But It stills returns wrong age..
>
>DOB of 07-Jun-85 I get 25 years old.

<blush> Silly error on my part - should be > not <:

=DateDiff("yyyy", [DOB], Date()) -
IIF(Format([DOB], "mmdd") > Format(Date(), "mmdd"), 1, 0)

--

John W. Vinson [MVP]
From: Biss on
John..

Many thanks for your patience..

Bob

Many thanks for all of your patience

"John W. Vinson" <jvinson(a)STOP_SPAM.WysardOfInfo.com> wrote in message
news:bkqfl51scmmsbkfa4v0v5hb7s8gng6ton6(a)4ax.com...
> On Wed, 20 Jan 2010 21:13:30 -0500, "Biss" <raleygroupky(a)hotmail.com>
> wrote:
>
>>But It stills returns wrong age..
>>
>>DOB of 07-Jun-85 I get 25 years old.
>
> <blush> Silly error on my part - should be > not <:
>
> =DateDiff("yyyy", [DOB], Date()) -
> IIF(Format([DOB], "mmdd") > Format(Date(), "mmdd"), 1, 0)
>
> --
>
> John W. Vinson [MVP]