Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Convert to GMT+4

Hi All,

I am currently using the below to convert my time:

Time(Frac(CallUniversalTime), 'hh:mm:ss') as Time

However, I need to convert this time to GMT+4.

Any Idea how i can incorporate it in my load script.

Many Thanks,

Hasvine

1 Solution

Accepted Solutions
maxgro
MVP
MVP

try with ConvertToLocalTime  (this is from Qlik help)


ConvertToLocalTime(timestamp [, place [, ignore_dst=false]])

Converts a UTC or GMT timestamp to local time as a dual value. The place can be any of a number of cities, places and time zones around the world.

ConvertToLocalTime(UTC(), ’GMT-05:00’) returns the time for the North American east coast

View solution in original post

2 Replies
maxgro
MVP
MVP

try with ConvertToLocalTime  (this is from Qlik help)


ConvertToLocalTime(timestamp [, place [, ignore_dst=false]])

Converts a UTC or GMT timestamp to local time as a dual value. The place can be any of a number of cities, places and time zones around the world.

ConvertToLocalTime(UTC(), ’GMT-05:00’) returns the time for the North American east coast

sunny_talwar

Using maxgro‌ provided function, try this:

=Time(Frac(ConvertToLocalTime(CallUniversalTime, 'GMT+04:00')), 'hh:mm:ss')