title: How to get yyyy-mm-dd hh:mm:ss format from "2015-06-26T00:10:00+01:00" in swift
body: <p><strong>I have stuck in issue in which i have to convert date format is 2015-06-26T00:10:00+01:00 into yyyy-mm-dd hh:mm:ss
  please give me some idea how to do this?</strong></p>
  
  <pre><code>let formatter = NSDateFormatter()
  formatter.dateFormat = "yyyy-MM-dd hh:mm:ss"
  let startTimeString = "2015-06-26T00:10:00+01:00"
  let  startTime = formatter.dateFromString(startTimeString)
  print("start time : \(startTime)")
  </code></pre>
  
  <p>and the out put is start time : nil</p>