timzone issue in webi 4.1 sp3

We just migrated to BO 4.1 sp3 and we are encountering an issue where when we try to link from one web intelligence report to another one with a specific date, it gets converted to a different timezone which fails the query behind… for example when we are passing down 11/15/2015… it get converted to 11/15/2015 6:00:00 PM …

any idea how to fix this or is that any settings needs to be configured?

for example:

http://servername/.../openDocument.jsp?sIDType=CUID&iDocID=AZEOav30xuFKqwSfP01AWwc&sType=wid&lsSPlan_Id=4053&lsSClient_Domain_Reltn_Id=3685038&lsSTransactionDate=11/15/2015

once the link gets open, reports shows no data and the date from the prompt shows 11/15/2015 6:00:00 PM

if I manually pick 11/15/2015 from the date picker everything looks good


Yili (BOB member since 2015-12-07)

Webi hold the actual value, which can different from the formated value you see in the report. While you may see your datetime formated as a date, webi will see the real datetime value. You should try to explicitly convert your datetime field to date.

FormatDate(datetimefield; "dd/MM/yyyy" )

But the best would be to do it in the universe, since there’s no point to add the time when you only want the date. Some DBA will create every date as datetime, which will put “12:00:000 AM” by default to all dates. Then you need to cast it as date.

For any(well, probably any) database, 11/15/2015 12:00:00 AM is the same thing as 11/15/2015


Derf :canada: (BOB member since 2011-05-16)

We were only facing this issue after upgrading to 4.1 sp3 … I think what you mentioned does make sense however it would be quite impossible for us to go back to all universe and change the field type from datetime to date…

so my question is, when I have &lsSTransactionDate=11/15/2015 in the URL. why would BO think it is 11/15/2015 6:00:00 PM when it hits the destination report?

is that a timezone issue or someplace I should have configured ?


Yili (BOB member since 2015-12-07)

This seems like an issue that could be because of the timezone difference between BusObj Server, Client and the database. Its either that or related to an issue observed in some patches documented here :

I had learned much ago that the safest way to deal with date/datetime fields is to compare truncated values for Dates in parameters - unless a timestamp is absolutely needed for the where clause.


Shobhit_Acharya (BOB member since 2005-08-11)

thanks… I will try to have the patch installed to see if that resolves the issue… thanks


Yili (BOB member since 2015-12-07)

just post a quick workaround here if anyone else is having the same issue and could not get a patch right away…

  • Set your WAS (or all of your servers if you have multiple) timezone
    setting to UTC
  • Restart your WAS (or all of them)
  • Repeat the steps to reproduce
    The timezone setting can be set by using “-Duser.timezone=UTC” added
    to the JVM command line parameters

Yili (BOB member since 2015-12-07)