Keep it all in seconds so the summing works fine and then just change the formatting to hours / mins. String.format("%d:%02d:%02d", mySeconds/3600, (mySeconds%3600)/60, (mySeconds%60)) From: https://community.jaspersoft.com/questions/800934/seconds-time