Page 1 of 1

How to get the Previous dates

Posted: 12 May 2013 00:23
by nerdweed
Any idea, how to fetch the previous date, like yesterdays date or 35 days ago. Date offset is present for datec, datem. I need it for <date>.

Re: How to get the Previous dates

Posted: 12 May 2013 01:16
by serendipity
nerdweed wrote:Any idea, how to fetch the previous date, like yesterdays date or 35 days ago. Date offset is present for datec, datem. I need it for <date>.
See command formatdate, this example shifts ahead 35 days:

Code: Select all

text formatdate(<date>, , "d", 35);

Re: How to get the Previous dates

Posted: 12 May 2013 12:07
by nerdweed
Thanks.