title: Math with MySQL timestamps in groovy
body: <p>I need to subtract one timestamp from another in groovy and get the number of hours that has passed. The timestamps are coming from MySQL. When I do simple math I get numbers of days rounded off to zero integers.</p>
  
  <p>endDate - startDate
  gives rounded integer</p>
  
  <p>I want a result of 2.35 hours, etc.</p>