Home DevShare designing-birt-reports

BIRT Report Design with Time Difference

by vdodson

Posted Nov 19, 2008 (Edited Nov 20, 2008 )

(0 reviews, 1926 views)

Download (3.24 KB)

By downloading this item, you are agreeing to the Terms of Use for the site.

Example BIRT report design showing how to subtract one time from another to get elapsed time

This design uses a calculated field to get the difference between two time fields in minutes and then shows those minute aggregrated within a table group.

The computed column looks like below where I had to divide by 1000 to get from milleseconds to seconds, and then divide by 60 again to get the number of minutes elapsed.

(row["stop"].getTime() - row["start"].getTime())/1000/60

This example was created with BIRT 2.3.0

Download (3.24 KB)

By downloading this item, you are agreeing to the Terms of Use for the site.



 
Filter More