title: TimeZone changed while converting string to Date
body: <p>When I'm changing date(which is in string form) to Date form,Then timezone change IST to UTC.Because of that I'm not getting notification</p>
  
  <p>My code is :</p>
  
  <pre><code>@IBAction func datePickerDidSelectNewDate(_ sender: UIDatePicker) {
      let selectedDate = sender.date
      let dateStr = Date().currentTimeZoneDate(date: selectedDate as NSDate)
      let date = dateFormatter.date(from: dateStr)
      let delegate = UIApplication.shared.delegate as? AppDelegate
      delegate?.scheduleNotification(at: date!)
  }
  </code></pre>
  
  <p>In my code, I'm getting <code>selectedDate</code> is in UTC time zone.So I have converted it into currentTimeZone.But when I change String form to Date,means <code>dateStr</code>to <code>date</code> it again convert to UTC timeZone.</p>