I am trying to know the difference between two dates (Including days,hours,minutes and seconds). For that I am using below code, but It\'s not working.
+ (void)
Are you setting the timeZone for the output formatter and along with that are you adding the time difference to the output date?? Because, there is not need to add the time difference as setting timezone for both dateFormatters will automatically take care of the time difference between the time zones.