title: How to change string to date without converting to any timezone in Swift?
body: <p>I know there are lot of questions passing around over this simple issue, but still I couldn't get a clear idea. </p>
  
  <p>Here is what I want: </p>
  
  <pre><code>SelectedDateString = "19-08-2015 09:00 AM"
  let dateFormatter = NSDateFormatter()
      dateFormatter.dateFormat = "dd-MM-yyyy HH:mm a"
      dateFormatter.timeZone = NSTimeZone();
      let SelectedUTCDate = dateFormatter.dateFromString(SelectedDateString)!
      println("SelectedLocalDate = \(SelectedLocalDate)") 
   // OUTPUT: SelectedLocalDate = 2015-08-18 18:30:00 +0000
  </code></pre>
  
  <p>If I dont use TimeZone:</p>
  
  <pre><code>    let dateFormatter = NSDateFormatter()
      dateFormatter.dateFormat = "dd-MM-yyyy HH:mm a"
     // dateFormatter.timeZone = NSTimeZone();
      let SelectedUTCDate = dateFormatter.dateFromString(SelectedDateString)!
      println("SelectedLocalDate = \(SelectedLocalDate)")
     //OUTPUT: SelectedLocalDate = 2015-08-18 19:26:00 +0000
  </code></pre>
  
  <p>Why is there change in the time and Date? What I want is:</p>
  
  <pre><code>//OUTPUT: SelectedLocalDate = 2015-08-19 09:00:00 +0000
  </code></pre>
  
  <p>Also I want to convert the Local Date to Exact UTC Date</p>
  
  <pre><code>//Like this: SelectedUTCDate = 2015-08-19 03:30:00 
  
  inputString = "19-08-2015 10:45 am"  // My localtime is 10:35 AM, so I set 10 mins from now
   var currentUTCTime = NSDate() // currentUTCTime is 05: 15 AM. 
  </code></pre>
  
  <p>I want to convert the inputString to its respective UTC Time and find the difference between the two times in both date and string. </p>
  
  <pre><code>//Like this Date: diffInDate: 00-00-0000 00:10 and
  // Like this String: diffInString: 10 mins
  </code></pre>
  
  <p>How can I get both of these?</p>