Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8678

Re: need to add past 7 dates

$
0
0

In that case, this should work:

 

stringvar s := "20141022";

numbervar mm := Mid(s,5,2);

numbervar dd := Right(s,2);

numbervar yy := tonumber(Left(s,4));

cdate(yy,mm,dd) IN [currentdate-8 to currentdate-1] ;


-Abhilash


Viewing all articles
Browse latest Browse all 8678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>