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: 
Luisanabria
Creator
Creator

Last Data Recharge.... Incorrect Hour

 
 

Hi all,

Im using ReloadTime() but Function put incorrect hour, for example at time l post this, l reloaded at 1:00pm and function say 18:00pm, l thought was the Location Time but in my configuration its correct.

when l use this "localtime ('GMT-05:00')" give my the correct hour but thats not the last recharge hour.

 

What could l do?

Labels (3)
1 Solution
6 Replies
Or
MVP
MVP

Try using Now(0) instead - that should get the last reload time.

https://help.qlik.com/en-US/sense/May2022/Subsystems/Hub/Content/Sense_Hub/Scripting/DateAndTimeFunc...

 

Luisanabria
Creator
Creator
Author

I try with "Now" too but the hour still incorrect, l dont know why happen this, l try many functions 

 

 

fernandoflogtz_1-1660156553044.png

 

 

Or
MVP
MVP

I'm afraid I have no way to further try and help you - I can't see your actual app or its last reload time. Does this time not match the "Data last reloaded" in the app's information? It does for me using Now(0):

Or_0-1660156654963.png

 

Luisanabria
Creator
Creator
Author

For example this is the example, the hour is incorrect vs my last reloaded

fernandoflogtz_1-1660157658195.png

 

 

Luisanabria
Creator
Creator
Author

Thank you, the link you send me bring me the correct hour

 

That function ConvertToLocalTime(Now(0),'Mexico City') solve my problem.