Adddays back?

I have variable in_Config(“FilterDateRecive_Round1”) = 12

I use code as below.

Today.AddDays(cint(in_Config("FilterDateRecive_Round1")))

But If I want use Today.addday -12 (add - in code)

How to edit it?

Hi,

Can you try the following?

Today.AddDays(-1*cint(in_Config("FilterDateRecive_Round1")))

Regards,

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.