title: Objective-C, How can I get the current date in UTC timezone?
body: <p>I am trying:</p>
  
  <pre><code>NSDate *currentDateInLocal = [NSDate date];
  NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
  [dateFormatter setDateFormat:@"yyyy-MM-dd'T'HH:mm:SS.SSS'Z'"];
  NSString *currentLocalDateAsStr = [dateFormatter stringFromDate:currentDateInLocal];
  
  NSDateFormatter * dateFormatter2 = [[NSDateFormatter alloc] init];
  NSTimeZone *timeZone = [NSTimeZone timeZoneWithName:@"UTC"];
  [dateFormatter2 setTimeZone:timeZone];
  [dateFormatter2 setDateFormat:@"yyyy-MM-dd'T'HH:mm:SS.SSS'Z'"];
  NSDate *currentDateInUTC = [dateFormatter2 dateFromString:currentLocalDateAsStr];
  </code></pre>
  
  <p>but It's still does not represent the current UTC time, how can I achieve this?</p>
  
  <p>Thanks</p>