TODAY minus 5 days

Discuss RoboTask here
Post Reply
Tierseven
Posts: 7
Joined: Wed May 12, 2004 5:42 am

TODAY minus 5 days

Post by Tierseven »

I have been trying to create a variable that will compute today minus 5 days and I continue to run into a problem at the change of the month. i.e. if today is july 7th then my variable

{MonthIncDays(-1)}{IncDays(-6)}{ShortYearIncDays(-1)}

does not decrease the month to 6, instead it just decreases the day value. Could you please help.

thanks.

Asheesh
Oleg
Site Admin
Posts: 3004
Joined: Thu Jan 01, 1970 1:00 am
Contact:

TODAY minus 5 days

Post by Oleg »

You may use following expression
{MonthIncDays(-5)}{IncDays(-5)}{ShortYearIncDays(-5)}
if you want to calculate today minus 5 days. Result is today minus 5 days in "mmddyy" format
Last edited by Oleg on Wed Jul 07, 2004 8:56 am, edited 1 time in total.
Post Reply