R
Ron Vecchi
I need to calculate the age of a person based on a DateTime BirthDate
I was thinking
TimeSpan ts = DateTime.Now - BirthDate;
//I can get the days but not years.
// I could check each year from their year of birth, count the days in the
year and compare with the days returned from timespan
but isn't there a easy way to check the difference in years?
Thanks,
Ron Vecchi
I was thinking
TimeSpan ts = DateTime.Now - BirthDate;
//I can get the days but not years.
// I could check each year from their year of birth, count the days in the
year and compare with the days returned from timespan
but isn't there a easy way to check the difference in years?
Thanks,
Ron Vecchi