Question

Current Date Minus x number of days

Hi

 

Trying to create a date parameter which is the current date - x number of days. Can anyone clarify what the correct formula for this is?

 

Like 0

Like

2 comments

Formulas in processes are C# - so for the current date minus X number of days, you'd use the current date with AddDays and supply a negative value to subtract (as an example, current date minus 7 days)

[#System variable.Current Date#].AddDays(-7)

Ryan

Ryan Farley,

Thanks a lot Ryan

Show all comments