title: Create picker for date and time together in iPhone
body: <p>I am creating two pickers for date and time using <code>UIDatePickerModeDate</code> and <code>UIDatePickerModeTime</code>, but I want to create one picker for date and time together. I am new to iOS development.</p>
  
  <p>For date selection I use this code:</p>
  
  <pre><code>datePick = [[UIDatePicker alloc]initWithFrame:CGRectMake(50, 290, 120, 0)];
  datePick.datePickerMode =UIDatePickerModeDate
  </code></pre>
  
  <p>For time selection I use this:</p>
  
  <pre><code>timePick = [[UIDatePicker alloc]initWithFrame:CGRectMake(50, 200, 120, 0)];
  timePick.datePickerMode =UIDatePickerModeTime;
  </code></pre>
  
  <p>Now my question is how can I create one picker for both and time?</p>