TIMESTAMPADD function in OTBI reporting in UTC and not EST
Content
We are using the below function to fetch the data for the previous month in OTBI Reporting & noticed it extracting the data based on UTC time zone and not EST.
Is there any way to have this logic changed to use EST instead of UTC. The last couple of hours on last day of the month causing the extract to fetch the data next day.
"Time"."Fiscal Period Start Date" = TIMESTAMPADD(SQL_TSI_MONTH, -1, TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH( CURRENT_DATE) * -(1) + 1, CURRENT_DATE)) | |
AND | "Time"."Fiscal Period End Date" = TIMESTAMPADD( SQL_TSI_DAY , -(1), TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH( CURRENT_DATE) * -(1) + 1, CURRENT_DATE)) |
Tagged:
2