Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Current Date Today

Hello

I have a little problem

I want to extract the today value, but If I put the function "=Today()" the system give me 17/06/2015 and today is 18/06/2015 (real today).  Somebody know How can I make that the system give me the real today date??

Thanks for your help

5 Replies
ramoncova06
Specialist III
Specialist III

you can use today(1)

vishsaggi
Champion III
Champion III

Hello Leonardo,

What is your current system clock says. Please check. Cos it is working fine at my end.

Thanks,

V.

vishsaggi
Champion III
Champion III

Also just for your FYI from QV Help file.

today([timer_mode] )

Returns the current date from the system clock. The timer_mode may have the following values:

0 Date at script run
1 Date at function call
2 Date when the document was opened  

Default timer_mode is 2. The timer_mode = 1 should be used with caution, since it polls the operating system every second and hence could slow down the system.

Thanks,

V.

Anonymous
Not applicable
Author

Following on from Ramon, the default for today(), which is today(0) is to return when the reload script was last run.

Whereas today(1) returns when the function was called.

the Today() function is described in the Help which is always a good source of information on all functions.

Anonymous
Not applicable
Author

I am facing the same issue, however, it's showing the proper date in other machiene '