Page 1 of 1

TODAY minus 5 days

Posted: Wed Jul 07, 2004 4:36 am
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

TODAY minus 5 days

Posted: Wed Jul 07, 2004 4:55 am
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