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: 
gladi-cz
Creator
Creator

ReloadTime()

Hello there,

I would like to add to my app information about reload time.

reload.JPG

I used function ReloadTime( ) ,but this function doesnt work with reload task on Qlik sense server. ReloadTime() works only with manual reload in data load editor, doesn't it?

Is there any alternative function? 

Thanks for reply.

BR,

Petr

12 Replies
Gysbert_Wassenaar

The Qlik Sense help file says that it does work:

ReloadTime

This function returns a timestamp for when the last data load finished. It can be used in both the data load script and in a chart expression.

ReloadTime( )

Are you sure the document was reloaded correctly on the Qlik Sense Server?


talk is cheap, supply exceeds demand
gladi-cz
Creator
Creator
Author

Hi Gysbert,

sorry for delay reply. Reload is fine, i didnt see any problem.

Today, i reloaded app this time:

pic1.JPG

But in my application is different time:

pic2.JPG

I am really scatterbrained.

Thnx for help, Petr

Anonymous
Not applicable

Hello, I've got the same problem : did you find a solution ? It would help me...

gladi-cz
Creator
Creator
Author

Hello Laurent,

i found one solutions. You have to use this function in app mode, not in the script. It works fine now.

neerajthakur
Creator III
Creator III

I think time in QMC is UTC Time and Application Time is your Local Time Subtract GMT value from QMC Time and see if time is same or not.

Thanks & Regards,
Please Accepts as Solution if it solves your query.
Felipe02
Contributor III
Contributor III

How you make this function on script ?

my reloadtime() always an hour early or late.

neerajthakur
Creator III
Creator III

Check the server time. ReloadTime() will return the timestamp of the last successful app reload in the server time zone.

Use this to convert to your local time 
 
ConvertToLocalTime(ReloadTime(), 'Place/TimeZone')
 
Let me know if this works for you.
 
Regards
Thanks & Regards,
Please Accepts as Solution if it solves your query.
whiteymcaces
Partner - Creator
Partner - Creator

You can create a variable in the script, like

Let vReloadTime = Now();

Which, by default, returns the System Clock timestamp at the time the script executes the function (above).

You can then use the variable in your app.