title: How to format time durations in Groovy?
body: <p>I need to show time elapsed. I have the dates in following format. </p>
  
  <pre><code>Date1 = Thu May 23 10:10:10 EDT 2013
  Date2 = Tue May 21 10:10:10 EDT 2013
  </code></pre>
  
  <p>I currently did <code>TimeDuration duration=TimeCategory.minus(now,LaunchTime)</code> </p>
  
  <p>And my output shows something like <code>2 days, 23 minutes, 25.154 seconds</code></p>
  
  <p>What I want to show instead of <code>2 days, 23 minutes, 25.154 seconds</code> is something like <code>48:23:25</code>(in hours and minutes). </p>