how to convert india time into UK time programmatically? Example : india time : 1.30 Convert in to UK time : 9.00
Thank you in advance.
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
dateFormatter.dateFormat = @"yyyy-MM-dd hh:mm:ss a";
NSTimeZone *timeZone = [NSTimeZone timeZoneWithAbbreviation:@"GMT"];
[dateFormatter setTimeZone:timeZone];
NSString *strTime = [dateFormatter stringFromDate:[NSDate date]];
NSLog(@"strTime :%@",strTime);