There is an HTML form through which I enter the two time values, in the following manner:
The data entered in HTML form is being processed by a Java Servlet. I want to find the difference between these two time values in terms of minutes in java. If I perform normal subtraction, it says 0.7. But I want the answer to be 30 minutes. How can I accomplish it?