title: Time entry in hh:mm form
body: <p>I'm creating an application in Java, and I have a textfield where I want to enter start time and another where I will enter endtime. And after these entries, I would like to see the time difference in the form hh:mm. </p>
  
  <p>Example:</p>
  
  <blockquote>
    <p>Start time: 12:00<br>
    End time:  14:30</p>
    
    <p>Result:  2:30</p>
  </blockquote>