Increment generic date

Discuss RoboTask here
Post Reply
marcolobaido
Posts: 70
Joined: Thu Jul 02, 2015 3:54 pm

Increment generic date

Post by marcolobaido »

Hi, I need to increment a generic date (i can't use the inc day variable). I tried with increment variable but it doesn't work.
Should I extract day month and year from the date and set the "rule" or does it exist a faster way?
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Increment generic date

Post by Oleg »

Use {DateIncDays(N)} expression
N may be positive or negative integer value. The expression calculates date from current date
for example
{DateIncDays(-7)}
{DateIncDays(10)}

Or maybe you want somethin else?
Oleg Yershov
Post Reply