| View previous topic :: View next topic |
| Author |
Message |
jason2
Joined: 04 Apr 2008 Posts: 7
|
Posted: Fri Apr 04, 2008 2:22 am Post subject: DATEADDX |
|
|
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 |
|
 |
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Fri Apr 04, 2008 8:26 am Post subject: |
|
|
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 |
|
 |
jason2
Joined: 04 Apr 2008 Posts: 7
|
Posted: Wed Apr 09, 2008 12:58 am Post subject: |
|
|
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 |
|
 |
|