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 

DATEADDX

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



Joined: 04 Apr 2008
Posts: 7

PostPosted: Fri Apr 04, 2008 2:22 am    Post subject: DATEADDX Reply with quote

Hi,

I am trying to pass the value of the year, month and date seperately to a webpage using automise 7.44

The Computer date is 4th April 2008

start-year=$%DATEADDX::YY::dd::-8%$ = 2008
start-month=$%DATEADDX::pp::dd::-8%$ = 4
start-day=$%DATEADDX::dd::dd::-8%$ = -4

I would have expected 3 for the month and 27 for the day.

Am I using this incorrectly? If so how do I extract the required info?

btw this code used to use just date and dateadd but only worked for 3/4 of the month, hence the move to DATEADDX

Thanks in advance for you assistance.
Jason
Back to top
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Fri Apr 04, 2008 8:26 am    Post subject: Reply with quote

I tested with 7.43 and 7.44
Used the 'Variables Syntax' utility
Used your variable
I got 3 for the month and 27 for the day.

which task are you using?
if you just applied the 7.44 patch, maybe it was not applied correctly?
Back to top
View user's profile Send private message
jason2



Joined: 04 Apr 2008
Posts: 7

PostPosted: Wed Apr 09, 2008 12:58 am    Post subject: Reply with quote

This is working now.

I think after the patch it wanted a full restart rather than just turning the engine off, patching then on again.

Thanks for your help
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