title: How to read both Date and Time from a TDateTimePicker
body: <p>I'm really confused. What I want to do (seems pretty simple) is to display a date + time in a TDateTimePicker, with the calendar integrated, and be able to read it after its value has changed.</p>
  
  <p>I'd like to use the dd/MM/yyyy hh:mm format. </p>
  
  <p>Since the TDateTimePicker isn't a TDateOrTimePicker, a used one with :</p>
  
  <ul>
  <li>Kind : dtkDate (displays the calendar)</li>
  <li>Format : 'dd/MM/yyyy hh:mm'</li>
  </ul>
  
  <p>Looks good, now let's read it :</p>
  
  <pre><code>showmessage(DateTimeToStr(DateTimePicker1.Date)); 
  </code></pre>
  
  <p>Only displays the date correctly. Changes on the hh:mm part is not taken into account. I always get the default value.
  Then I thought : There is also a Time property, maybe I need to read the value in 2 times.</p>
  
  <pre><code> showmessage(DateTimeToStr(DateTimePicker1.Time));
   showmessage(DateTimeToStr(DateTimePicker1.Date));
  </code></pre>
  
  <p>But I have the exact same output (and problem) as before. So now, let's try to change this Kind property to dtkTime, then read the time, then switch it back to dtkDate then read the date.</p>
  
  <p>But no, it still doesn't work. Switching the Kind property from dtkDate to dtkTime erases my input on the hh:mm part.</p>
  
  <hr>
  
  <p>I know I'm actually supposed to work with 2 TDateTimePickers : one for the date, one for the time.</p>
  
  <p>So my question is : </p>
  
  <ul>
  <li>Is there an easy way to solve my simple and very common problem (a
  real DateTimePicker) ?</li>
  </ul>
  
  <p>And a Delphi design questions :</p>
  
  <ul>
  <li>Why is there a Format property that is basically useless and
  misleading ? Having a TimeFormat, DateFormat, and proper format
  validation process isn't that hard.</li>
  </ul>
  
  <p>Please note that I post this question mainly to avoid beginners doing the same loooong process of debugging and frustration.</p>