Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
glatocha
Contributor
Contributor

Time shifting by few hours

Hi all,

all my data in my system database are stored in the UTC format. When I import it to Qlik I can use convert to local time function, but on top of this I need to shift the time by few hours as the customer expects the "daily" reports from 8am to 8am next day. Is there a function to shift it by hours? 

Labels (1)
1 Reply
Vegar
MVP
MVP

You can use DayName() and its 3rd parameter to specify an offset to change when a day start.

Try something like this.

Dayname(YourDateValue, 0, 1/3) as YourAdjustedDateValue