title: UIDatePicker: Minimum Date
body: <p>I would like to show only time in UIDatePicker with minimumTime +12 Hours.  Below is my code:</p>
  
  <pre><code>- (void)willPresentActionSheet:(UIActionSheet *)actionSheet
  {
      NSLog(@"startTimeLabel %@", startTimeLabel);
      NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
      [formatter setDateFormat:@"HH:mm a"];
      NSDate *minimumTime = [formatter dateFromString:startTimeLabel];
      NSLog(@"minimumTime Formatted %@", minimumTime);
  
  
      UIDatePicker *pickerView = [[[UIDatePicker alloc] init] initWithFrame:CGRectMake(0, 40, 320, 216)];
  
      pickerView.datePickerMode = UIDatePickerModeTime;
      [pickerView setMinimumDate:minimumTime];
  
      [pickerView setMinuteInterval:15];
      [pickerView setTag: kDatePickerTag1];
      //Add picker to action sheet
      [actionSheet addSubview:pickerView];
      NSArray *subviews = [actionSheet subviews];
  }
  </code></pre>
  
  <p>Here is the log:</p>
  
  <pre><code>2013-07-17 18:13:37.682 MeetingTime[12294:c07] startTimeLabel 6:15 PM
  2013-07-17 18:13:37.683 MeetingTime[12294:c07] minimumTime Formatted 2000-01-01 20:15:00 +0000
  </code></pre>
  
  <p>Q1.  Why is startTimeLabel showing up as 6:15 PM but after format it's 20:15:00+0000.  Shouldn't it be 18:15 ?   Is my format wrong?  I don't need the date, can I get rid of it?</p>
  
  <p>Q2.  I'd like the picker to get the minimum time from startTimeLabel and use it as the minimumTime.  Is it possible to not show any time before the minimum time?  i.e. if startTimeLabel is 6:15 PM then the only options in the UIPicker will be 6:30PM + 12 Hours ?  How can I accomplish this?  Thanks.  </p>