Does your date measure contain details of time? eg DD/MM/YYYY HH:MM:SS
If not, try applying the function DayNumberOfYear() to your date measure, then subtract one date from the other and multiply by 24. This will give you the number of hours between two dates.
and this gave me the number of seconds of difference. Then, "playing" with this I can obtain the exact number of hours/minutes/seconds between dates. But it is quite complicated!!
It looks like you use the function DateDiff("s",db1.open_time,db1.close_time )at the SQL level.
This function doesn't exist in the BO reporter.
You will maybe find a solution on a "SQL" forum. Search SQL on the forum list and choose the one in relation with your database (Sybase, Oracle, IBM,...)
My thinking about that is that you can be happy that your database gives your this kind of function: DateDiff(,,,).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.