Dunno if it's some native method for that in the Date classes, but I guess it would be correct and easy just to use a DateTime class, and calculate the difference between DateTime.Now () and the Date of Birth...
In C# that would be: public static TimeSpan getAge (DateTime dob) { return DateTime.Now.Subract (dob) ; } NB! I haven't tested this code.. but I hope you see the idea... hth, Andreas Häber ----- Original Message ----- From: "Arvind K" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, May 05, 2002 5:18 PM Subject: [DOTNET] DOB to Age > Is there a procedure to calculate the age in Years and Months from a given > Date Of Birth in VB.NET? > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.