NSString *strDatehere = @"22/11/2012 11:12:00 PM"; // set any date with any formate
NSDateFormatter *heredateFormatter = [[[NSDateFormatter alloc] init] autorelease];
NSLocale *enUSPOSIXLocale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US_POSIX"];
assert(enUSPOSIXLocale != nil);
[heredateFormatter setLocale:enUSPOSIXLocale];
[heredateFormatter setTimeZone:[NSTimeZone timeZoneForSecondsFromGMT:0]];
[heredateFormatter setDateFormat:@"dd/MM/yyyy hh:mm:ss a"];
NSDate *datehere = [heredateFormatter dateFromString: strDatehere];
NSTimeInterval timeDifference = [[NSDate date] timeIntervalSinceDate:datehere];
double minutes = timeDifference / 60;
double hours = minutes / 60;
double seconds = timeDifference;
double days = minutes / 1440;
NSLog(@"%.0f, %.0f, %.0f, %.0f", days, hours, minutes, seconds);