Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Let t=now() not working

Not sure what I'm missing here but for some reason I cannot get a result for my Let statement.

Statement:

Let t=now()

Result:  Null

Seems to work fine with a set statement.

Any ideas?

2 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Steve,

     One thing to confirm here, is you want the NOW() word in variable or the  current Date and time.

     If you need only NOW() word in variable then use below.

     SET t  = NOW();

     and

     if you want current date and time, use below statement.

     Let  t = now();

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Hi Kaushik,

I'm looking for current date and time.

Thanks.