Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
margnotis
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)
  • Other

1 Reply
Sebastian_Linser

you might want to add the dst parameter

ConvertToLocalTime(ReloadTime(), 'New Delhi', ignore_dst=false)

 https://help.qlik.com/en-US/qlikview/May2023/Subsystems/Client/Content/QV_QlikView/Scripting/DateAnd...

 

best regard

Sebastian

Help users find answers! Don't forget to mark a solution that worked for you! 🙂