title: How to set specific time on date picker?
body: <p>I am using date picker and selected datePicker mode as time. When I am loading the date picker it is showing current time.But I want to set default time always 5:00 PM.</p>
  <p>I have tried the below way but it didn’t work for me.</p>
  <pre class="lang-swift prettyprint-override"><code>let dateFormatter = DateFormatter()
  dateFormatter.dateFormat =  &quot;HH:mm&quot;
  dateFormatter.timeZone = .current
  
  if let date = dateFormatter.date(from: &quot;17:00&quot;) {
      datePicker.date = date
  }
  </code></pre>
  <p>Please help me to default to time 5:00PM always. Thank you.</p>