Our Audit universe seems to be defaulted to GMT timezone. After creating a report for failed instances the “EventDateStamp” field shows the failure time +4 hours.
How can I convert this in the webi report to show EST? Or if it makes more sense to do it at the universe level, how can I go about that?
Until I get the software installed on my machine (another week or so) is there a way this can be done at the report level using the [EventDateStamp] field, or any other function in webi?
This is very hack-ish since it adjusts the time by a specific number of hours and doesn’t take DST into consideration. But it should suit your short term need:
=RelativeDate([Event Date/Time];-5/24)
Which RDBMS are your audit tables on? Ours is Oracle, and I created a function in the database to convert times from GMT to ET:
CREATE OR REPLACE FUNCTION fix_timestamp (i_date DATE)
RETURN date
IS
BEGIN
return cast(from_tz(cast(i_date AS TIMESTAMP),'GMT') at time zone 'US/Eastern' as date);
END;
Even if you can’t create database-based functions, you can use the CAST in a universe object.