Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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?

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