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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
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