Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Adding 6 days to a text date variable
Topic Summary:
Created On: 08/14/2013 12:09 PM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 08/14/2013 12:09 PM
User is offline View Users Profile Print this message

Author Icon
DavidMckittrick
Student (5-19 posts)

Posts: 7
Joined: 08/14/2013

I'm tring to setup a task that takes a date code from our accounting program (text string - yymmdd) and adds 6 days.

I've tried a few things but nothing works. I'm stumped. Been looking over the forum for 30 min now. Need help.

Thought I was close with this.

<AMVARIABLE NAME="enddate">%Format(DateSerial(%startdate%)+6, "yymmdd"%</AMVARIABLE>



 Category Survey
AutoMate 6 version:
Windows version:
 08/14/2013 12:53 PM
User is offline View Users Profile Print this message

Author Icon
Ricardo Castaneda
HelpSystems

Posts: 3424
Joined: 01/11/2008

Hi David,

Please review the sample below and let us know if that is what you are looking for.

I added the +6 (days) in the Advanced tab of the "Format Date Time" action



 Category Survey



Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)


-------------------------

Ricardo Castaneda | Principal Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700
 08/14/2013 01:17 PM
User is offline View Users Profile Print this message

Author Icon
DavidMckittrick
Student (5-19 posts)

Posts: 7
Joined: 08/14/2013

Great, that works perfictly. You rock!

 

Almost finished writing the task, think my boss should be impresed.



 Category Survey
AutoMate 6 version:
Windows version:
 08/14/2013 01:27 PM
User is offline View Users Profile Print this message

Author Icon
Osmar Rosales
AUTOMATE EMPLOYEE

Posts: 20
Joined: 04/22/2013

Hi David. Thank you for the update. Please feel free to contact us if you have any other questions or issues.

 Category Survey


-------------------------
Osmar Rosales
Technical Support Representative
(213) 738-6966
Network Automation, Inc.



AM5 5.5.5.1; AM6 6.2.8.0; AM7 7.1.3.0; AM8 8.0.9.0; AM9 9.0.4.5
BPA7 7.1.3.0; BPA8 8.0.9.0; BPA9 9.0.4.5
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 2397 guests browsing this forum, which makes a total of 2397 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2020 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog