title: Java: How to input time as string and calculate difference
body: <p>I want to make a java program where the user enters a start time and an end time. from there I want the program to calculate the difference between the times? 
  This should be the output</p>
  
  <pre><code>Enter first time: 12:56 pm
  Enter second time: 1:03 pm
  time difference is 7 minutes
  </code></pre>
  
  <p>All i just know is the formula to how to calculate and find the minutes. </p>