Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Today function shows old date

Hi,

I have a dashboard and have today() function for comparing Order Date. I opened dashboard two days back and didn't close it but when I refreshed the dashboard still my today function is taking two days before date, not sure why it is happening like that.

Any suggestions.

Thanks,

5 Replies
lironbaram
Partner - Master III
Partner - Master III

hi

today() function return the that of last data load

for more details look at this

QlikView ‒ today - script and chart function

sunny_talwar

Are you using QV12?

UPDATE: Check if Today(1) makes any difference

MK_QSL
MVP
MVP

Today() is having mode 0 by default which will show date at the time of script run

Today(1) will give date at function call

Today(2) will give date when the document was opened.

Not applicable
Author

Then not sure what is the use of today function. then what should I use if I want to get the current date.

Thanks,

sunny_talwar

Like Manish pointed out, try Today(1)