title: How to display time from UIDatePicker
body: <p>I'm using a UIDatePicker in time mode to get the time. I'm trying to display the time selected in a label. The following code doesn't work</p>
  
  <pre><code>NSDateFormatter *outputFormatter = [[NSDateFormatter alloc] init];
  [outputFormatter setDateFormat:@"h:mm a"];
  
  label.text = [outputFormatter stringFromDate:self.datePicker.date];
  
  [outputFormatter release];
  </code></pre>