Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Convert local time to GMT

Hi guys,

Is there any way to convert the local time to GMT in Qlikview scripts?

Saurabh

2 Replies
Anonymous
Not applicable
Author

There is function GMT()

Edit:  In the script, you can create a variable at the beginning of the script:

LET GMTShift = now() - GMT();

And add this variable to all your local timestamps fields.

Anonymous
Not applicable
Author

Ramya

All our servers are permanently set to GMT [aka UTC].

Then I make use of the ConvertToLocalTime() function should the need arise.  It is the opposite way round to your requirement but may be useful.

Best Regards,     Bill