title: How to convert Milliseconds to "X mins, x seconds" in Java?
body: <p>I want to record the time using <code>System.currentTimeMillis()</code> when a user begins something in my program. When he finishes, I will subtract the current <code>System.currentTimeMillis()</code> from the <code>start</code> variable, and I want to show them the time elapsed using a human readable format such as "XX hours, XX mins, XX seconds" or even "XX mins, XX seconds" because its not likely to take someone an hour.</p>
  
  <p>What's the best way to do this?</p>