Given a DateTime representing a person\'s birthday, how do I calculate their age in years?
DateTime
The best way that I know of because of leap years and everything is:
DateTime birthDate = new DateTime(2000,3,1); int age = (int)Math.Floor((DateTime.Now - birthDate).TotalDays / 365.25D);