| View previous topic :: View next topic |
| Author |
Message |
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Fri Jun 20, 2008 9:58 am Post subject: Variable for previous month |
|
|
user question:
I have a file in the following format: APP Database-May08.csv. I am using the formula REGEXF=APP Database-$%DATE::Qqqyy%$$%DATEADD::mon::-1%$.csv to download the file but it doesn’t want to work. How do I get the previous month? |
|
| Back to top |
|
 |
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Fri Jun 20, 2008 9:58 am Post subject: |
|
|
Try this:
APP Database-$%DATEADDX::Qqqyy::pp::-1%$.csv
read the help file on System Variables / DATEADDX function. |
|
| Back to top |
|
 |
|