...

View Full Version : Best way to find out the age of someone



xmldevnewcastle
10-12-2007, 04:29 PM
Im trying to find out how old someone is:

ive tried doing it like this:

DateDiff("yyyy",DOB,Date())

But this seems to just go off the year and nothing more which is obviously no good since a year lasts 12 months.

Anyone got any ideas what the best way is?

Spudhead
10-12-2007, 07:08 PM
Google is your friend (http://www.google.co.uk/search?q=ASP+calculate+age)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum