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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
jblomqvist
Specialist
Specialist

How to convert Singapore time based field values to UK based time values?

Hello all,

I have a DateTime field which records data in Singapore time.

When analysing the data in the UK it makes little sense to the users so how can I show the same timestamp data but on UK time?

So basically I want conver the following values in UK time:

2019-04-01 03:30:20

2019-04-01 03:35:34

etc

6 Replies
dplr-rn
Partner - Master III
Partner - Master III

jblomqvist
Specialist
Specialist
Author

Hi guys,

This almost works.

It appears to show one hour ahead?

For example here in the UK it is 8pm currently, when I use your expression, it's showing as 04:00am Singapore time, but it is actually 3am over there currently.

The clocks just went forward so it's not taking this into account?

dplr-rn
Partner - Master III
Partner - Master III


play around with ignore_dst argument
look at the link for details on arguments
not sure if true/false is the right one. (always confused by Daylight savings :-))
jblomqvist
Specialist
Specialist
Author

Hi Dilipranjith,

Sadly that seems to make no difference when I enter true or false as arguments!
dplr-rn
Partner - Master III
Partner - Master III

ok. looking more into it the function it may not be what you want as that function converts UTC time to a local (specified in argument) and i believe you want it the other way round. i.e. singapore to uk.

i am not sure now 😞