title: incorrect string to date conversion swift 3.0
body: <p>I am converting a format like 10/24 12:00 PM in string to the equivalent in Date format. I am using the following code:</p>
  
  <pre><code>let dateFormatter = DateFormatter()
      dateFormatter.dateFormat = "MM/dd hh:mm aa"
  
     self.dateCompleted = dateFormatter.date(from: self.DeliverBy!)
  </code></pre>
  
  <p>dateCompleted is a Date variable whereas self.DeliveryBy is a String variable. </p>
  
  <p>I am getting an output like 2000-10-24 17:00:00 UTC where as it should be something like 2017-10-24 12:00:00 UTC.  Am i doing something wrong?</p>
  
  <p>I referred <a href="http://userguide.icu-project.org/formatparse/datetime" rel="nofollow noreferrer">http://userguide.icu-project.org/formatparse/datetime</a>  </p>