title: I want to calculate the difference in hours between two times. What components should i use: DateTimepickers or ComboBoxes
body: <pre><code>var
    Hour, Min, Sec, MSec: Word;
  begin
    DecodeTime(ComboBox1-ComboBox2, Hour, Min, Sec, MSec);
  end;
  </code></pre>
  
  <p>This is the code but it keeps getting errors?</p>