hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Variable for previous month

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Variables and Regular Expressions
View previous topic :: View next topic  
Author Message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Fri Jun 20, 2008 9:58 am    Post subject: Variable for previous month Reply with quote

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
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Fri Jun 20, 2008 9:58 am    Post subject: Reply with quote

Try this:
APP Database-$%DATEADDX::Qqqyy::pp::-1%$.csv

read the help file on System Variables / DATEADDX function.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Variables and Regular Expressions All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group