Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
Qlik Insider: Product Roadmap Edition on March 3, 1 PM ET: REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
jimbe0
Contributor
Contributor

ConvertToLocalTime() giving 1hr variance as compared to actual time

Hi, If reloadtime() returns Europe time, for example 6am. Then, I try to ConvertToLocalTime(ReloadTime(), 'New Delhi') it should add 4.5 hours right and return 10:30 am? But it returns 11.30 am

What's the mistake?

Labels (1)
1 Reply
vinieme12
Champion III
Champion III

use GMT+4:30

=ConvertToLocalTime(reloadTime(),'GMT+04:30')

 

if you need to include DST add the parameter as True/False

=ConvertToLocalTime(reloadTime(),'GMT+04:30',True)

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.