title: Convert datestring to Swift 3 NSDate
body: <p>I having a date string:</p>
  
  <blockquote>
    <p>Wed Mar 25 2017 05:30:00 GMT+0530 (IST)</p>
  </blockquote>
  
  <p>I want to convert this string to the <code>Date</code> object in Swift 3.</p>
  
  <p>I have referred to <a href="http://www.sdfonlinetester.info/" rel="nofollow noreferrer">Link1</a>, <a href="https://jeffkayser.com/projects/date-format-string-composer/index.html" rel="nofollow noreferrer">Link 2</a> and <a href="http://nsdateformatter.com/" rel="nofollow noreferrer">Link 3</a> for generating the format for this date string but could not get the correct format.</p>