Convert any timezone date in system timezone in iOS
问题 I am facing problem while converting given date into system time zone in iOS. Source date: 2013-03-18 03:54:18 // its in AM format Destination date should be : 2013-03-18 03:30:15 //its in PM format. How can I get this?? I have tried below code but getting wrong data and difference too. NSDateFormatter *fmt = [[NSDateFormatter alloc] init]; fmt.dateFormat = @"yyyy-MM-dd HH:mm:ss"; NSLog(@"Post date::%@",postDate); NSDate *utc = [fmt dateFromString:postDate]; fmt.timeZone = [NSTimeZone