Jump to content
We've recently updated our Privacy Statement, available here ×

mxc

Members
  • Posts

    1
  • Joined

  • Last visited

mxc's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi all, In my report I need to show the average number of days beween the time the issue was logged and the time it was resolved. From the database I get two java.util.Date fields. I have created a variable $avg_days. I have tried something like this with the average calculation but since setTime returns void it doesn't work. Code:(new java.util.Calendar().setTime($F{date_accepted}).getTimeinMillis() - new java.util.Calendar().setTime($F{date_logged}).getTimeinMillis())/86400 Does anyone else have an idea how to do this?
×
×
  • Create New...