Tuesday, December 21, 2010

Find Age

To Find the age of a person there is another class avaliable in VS
C#

TimeSpan
Datetime myBirthday=DateTime.Parse("7/7/1982");
TimeSpan objTimeSpan=DateTime.Now.Subtract(myBirthDay);

No comments:

Post a Comment