![]() |
![]() |
We are currently migrating this forum over to our HelpSystems domain. Please post all new threads in our new HelpSystems Community Portal. |
![]() |
|
![]() |
AutoMate Discussion | ![]() |
help :
faq :
home
|
||
Latest News:
|
latest topics : statistics |
Topic Title: LastDate in Previous Month Topic Summary: Created On: 08/22/2017 08:15 AM Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Thank you! That will work great. Laurie | ||||||||||||
![]() |
||||||||||||
I need to get the Last Date for the last day of the previous month to add to a file name. Is there a way to do this in version 7?
Thank you, Laurie
|
||||||||||||
|
||||||||||||
![]() |
||||||||||||
Hi Laurie, I couldn't find a super easy way to do this, but managed to get the date with a few steps. Please see the attached task.
------------------------- ![]() Devin Cannon | Support Analyst AutoMate | Division of HelpSystems HelpSystems, LLC | T: +1.213.738.1700 | F: +1.213.738.7665 |
||||||||||||
|
||||||||||||
![]() |
||||||||||||
Hi Laurie,
Using a VB function may accomplish this. Please see below.
Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder) ------------------------- ![]() Leonard Amabile | Director, Cross Platform Support AutoMate | InterMapper | Skybot | Divisions of HelpSystems T: +1.213.738.1700 | F: +1.213.738.7665 |
||||||||||||
|
||||||||||||
![]() |
||||||||||||
I tried to add this to the Rename File action and get an error: File and folder names cannot contain any of the following: /:"<>
Thoughts? Thank you, Laurie
Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder) |
||||||||||||
|
||||||||||||
![]() |
||||||||||||
Hello Laurie,
Since the expression results in a date format that uses the "/" symbol, Windows is informing us that it is not able to use it to name files. That being the case, you will need to replace the "/" symbols with "_" for example. Here is a short example of how to accomplish this:
Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder) ------------------------- ![]() Alex Escalante | Support Analyst AutoMate | Division of HelpSystems HelpSystems, LLC | T: +1.213.738.1700 | F: +1.213.738.7665 |
||||||||||||
|
||||||||||||
![]() |
||||||||||||
...Alternatively, you can also use the format date/time action to accomplish the same (see code below).
You would then reference the variable at the end of the file name. Let us know if these work for you.
Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder) ------------------------- ![]() Alex Escalante | Support Analyst AutoMate | Division of HelpSystems HelpSystems, LLC | T: +1.213.738.1700 | F: +1.213.738.7665 |
||||||||||||
|
||||||||||||
![]() |
||||||||||||
Thank you! That will work great.
Laurie
|
||||||||||||
|
AutoMate Discussion
» AUTOMATE » AutoMate 7
»
LastDate in Previous Month
|
![]() |
FuseTalk Enterprise Edition v4.0 - © 1999-2021 FuseTalk Inc. All rights reserved.