title: Swift datePicker minimum and maximum Hour
body: <p>Hi all i saw some post of stackoverflow and i figured out how to set a minimum and maximum date. So now in my datePicker you can only select dates after today. Now the problem is that i need to put hour from 8am to 4pm and i can't find anything on internet. How i can do that? Thank you in advance. Here is my code:</p>
  
  <pre><code> @IBAction func datePickerAction(sender: AnyObject) {
  
      let dateFormatter = NSDateFormatter()
      dateFormatter.dateFormat = "dd-MM-yyyy HH:mm"
      let strDate = dateFormatter.stringFromDate(datePicker.date)
      let now = NSDate()
      datePicker.minimumDate = now
      self.chooseLabel.text = strDate
     save.setObject(strDate, forKey: "ServiceDateChoosed")
      save.synchronize()
  }
  </code></pre>