how to calculate the age based on the birth date in this format 6/24/1976 mon/date/year...
Here's how you can calculate your actual age based on your birth date in years and days:
NSString *birthDate = @"03/31/1990";
NSDate *todayDate = [NSDate date];
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:@"MM/dd/yyyy"];
int time = [todayDate timeIntervalSinceDate:[dateFormatter dateFromString:birthDate]];
int allDays = (((time/60)/60)/24);
int days = allDays%365;
int years = (allDays-days)/365;
NSLog(@"You live since %i years and %i days",years,days);
It returns the years and the exact days. And if you need you can change the NSDateFormatter and much more.