iPhone - adjusting the date on a UIDatePicker
<p>I have the hour and the minute as NSIntegers (I don't care about the seconds... it may be 00) and I have a UIDatePicker adjusted to display just time (UIDatePickerModeTime).</p>

<p>Simple question: how do I set an hour on the UIDatePicker? Hours are in the 24h format (as it comes from the picker naturally).</p>

<p>Suppose this:</p>

<pre><code>NSInteger hour = 17;
NSInteger minute = 12;
[myTimePicker setDate: ????];
</code></pre>

<p>I know I have to convert that hour and minute to NSDate, but how do I do that without including a day? I just need time.</p>

<p>I have read <a href="http://stackoverflow.com/questions/4081588/nsdate-right-way-to-work-with-time-of-day">this example</a>, but it also considers the day.</p>

<p>How do I construct a NSDate of just time, so I can adjust my UIDatePicker?</p>

<p>thanks</p>
