Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Problem with Business Objects DaysBetween

Posted on 2011-03-15
1
Medium Priority
?
1,426 Views
Last Modified: 2012-06-21
Hi all,
i have a very strange and bizarre problem using webi version of business objects XI.
I used a days between function to determine the age of two dates...but for some reason the day turns the next day at 6PM. My tech support has not been able to find a solution. Any ideas, experts? see below the images of the result:

the formula i am using for age is:

=DaysBetween([Query 1].[Actual Start Time];[Current Date])

below i am showing both values and see that the Age jumps one day at 6pm...a day later.

 age1age2.jpg
0
Comment
Question by:sassy168
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
Cboudroz earned 2000 total points
ID: 35140617
I didn't work whit business objects XI since a will, but Looks like if it's link to timezone.

Are you in time zone (GMT -6)?

You can change your windows TimeZone to see if he change the formula result (if you put GMT -4 you should see a difference after 8pm instead of 6pm).

I think you can used SQL formula instead of business objects formula.

T-SQL:
DATEDIFF(dd, [actual start Time], getdatE())
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question