Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

update date and time from a button

Upon pressing the button I want that updates the date and time.

The only way that is updated by a partial reload of data.

qlik.png

in my textbox I have ='Última Actualización ' & timestamp(reloadtime())

what I want is to press the button and my box is upgraded

thanks for the support!!

6 Replies
MarcoWedel

Hi,

maybe like this:

QlikCommunity_Thread_142026_Pic1.JPG.jpg

hope this helps

regards

Marco

jduenyas
Specialist
Specialist

Instead of the TimeStamp(ReloadTime()) change that to Now()

Watch out not to use Today() because the date in today() also depends on reload and on restart of the application. If you leave your application running overnight and the next day you depend on functions that are dependent on Today(), your result will not be correct.

Now() is a dynamic function.

jagan
Luminary Alumni
Luminary Alumni

Hi Josh,

ReloadTime() - Will gives you the last refresh timestamp of the Dashboard, if you use Now() you always get Current Date.


Hope this helps you.


Regards,

Jagan.

sujeetsingh
Master III
Master III

You should use reload time .

Anonymous
Not applicable
Author

You want to update in database as well or just in UI ?

mjm
Employee
Employee

Carlos you shouldn't be using reloadtime() as others have advised as this time is only updated when the document is reloaded. You should use the now() function instead.