Dom,

You could ICONV both dates and subtract to get the total number of days
between the two.  6 April 2006 = 13976.  12 October 1967 = -80.
Subtracting gives you 14056.  Dividing that by 365 gives you 38.51 ...
approximately 38 years and 186 days old.  HTH.

Mark

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Dominion
> Sent: Tuesday, January 16, 2007 1:05 PM
> To: [email protected]
> Subject: [U2] [UV] Calculate age from date of birth
> 
> Hi,
> Could anyone tell me how I can calculate someones age from 
> their date of birth at a specific point in time? ie, age at 6 
> April 2006 if their date of birth is 12 October 1967.
> 
> Thanks,
> 
> Dom
> --
> View this message in context: 
> http://www.nabble.com/-UV--Calculate-age-from-date-of-birth-tf
> 3023501.html#a8398858
> Sent from the U2 - Users mailing list archive at Nabble.com.
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to