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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

calender

How to get the current system date in calender?

And how to subtract days from date?

Labels (1)
3 Replies
agomes1971
Specialist II
Specialist II

Hi,

please see this...

Creating A Master Calendar

Regards

André Gomes

isorinrusu
Partner - Creator III
Partner - Creator III

Hi,

System Date: Today() function.

Substracting days depends on how you have your date stored.

Today()-1

gives you yesterday's date

In a textbox, write

='Today: '&today()&'  Yesterday: '&date(today()-1)

It'll show you today's and yesterday's dates.

It works in the same way in the script:

Load .....

     today()           as SystemDate,

     today()-1        as YesterdayDate

....

Regards,

Sorin.

Not applicable
Author

thank u