...

View Full Version : Calculate Age in future event - Using a DB



TheFIsh
04-27-2004, 11:20 AM
Hello all,

My first post so thanks for listening already :)

Ok what i need to do is work out the age of a person on a specified date in the future (20th June 2004). I know each persons DOB via my database and i am brining back all the records in the DB and displaying them on a page.

From the DB the person(s) DOB will come through as 21/01/1987 for example.

Can this be done and done dynamicly?

Regards,

TheFIsh

glenngv
04-27-2004, 11:25 AM
I didn't fully understand what you wanted but it looks like this is better done in server-side.

TheFIsh
04-27-2004, 11:49 AM
You are correct and i have found the solution!

if anyone is interested then click here http://www.aspfaq.com/show.asp?id=2233

Cheers,

TheFIsh



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum