Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8722523
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:26:23+00:00 2026-06-13T07:26:23+00:00

I use BIRT for reports and i am a beginner BIRT user. In my

  • 0

I use BIRT for reports and i am a beginner BIRT user. In my report i must calculate the average of a column. (database is an oracle)

In my open script I have sth. like this:

sqlText = "select A, B, C, D, ((date1-date2) day to second) as differencedate from problem";

difference date column values are like this: 0 0:22:15 and in my fetch I have

if (!maximoDataSet.fetch())
    return (false);

row["A"] = maximoDataSet.getString("A");
row["B"] = maximoDataSet.getDate("B");
....    

row["differencedate"]=maximoDataSet.getString("differencedate");

return (true);

I tried to split the string and get the seconds from the differencedate and convert it to integer using plain JavaScript but I am getting an error like “split null” etc. So my question is how can i convert this column to integer in BIRT?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T07:26:24+00:00Added an answer on June 13, 2026 at 7:26 am

    Try retrieving the date difference from the database as a number – like so:

    select A, B, C, D, 
           ((date1-date2) day to second) as differencedate,
           (date1-date2) * 86400 as differenceseconds
    from problem
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently began using BIRT and have developed a report to use with my
i want to use BIRT reporting tool of eclipse for which i have downloaded
I have created a report with the Eclipse BIRT plugin for Eclipse and want
Is it possible to set a database role before running a report? I have
I have a report which I need to create with BIRT which is simply
I have a Java EE application running on jboss-5.0.0.GA. The application uses BIRT report
We use BIRT report to generate HTML file, it works on IE 6, but
I am trying to use BIRT 2.5.0 to generate a pdf file. BIRT is
I'm trying to upgrade my application to use BIRT 3.7.1 version. Currently I'm using
Use Case Show a photo uploaded by the user in a square box with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.