Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

QlikWorld, June 24-25, 2020. Free virtual event for DI and DA gurus. Register Today
Showing results for 
Search instead for 
Did you mean: 
Contributor III
Contributor III

Convert time from EST to GMT & EST to Philippine Time Zone


I need to convert the DateTime 02/07/2015 04:59:32 (Field Name as LoginTime) which is in EST to be converted to GMT as well as I need to convert to Philippine Time zone based on a condition

In database I have columns

02/07/2015 04:59:322
02/07/2015 07:50:013

Time Zone 1 = EST Time Zone

2 = GMT (London)

3 = Philippine Time Zone

But LoginTime time is always in EST based on timezone I have to convert it to localtime based on timezone condition

Thanks in advance.

1 Reply
MVP & Luminary
MVP & Luminary

Re: Convert time from EST to GMT & EST to Philippine Time Zone

You could try it with the function converttolocaltime() but if you have only a few timezone offsets then you could simply add the hour-offset to your LoginTime, like:

LoginTime + (1/24 * pick(match(TimeZone, 2, 3), 5, -7))

The bolded offset-hours are only dummy-values for this example, you have to look for the correct ones maybe here:


- Marcus