![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Hello, Can you please tell us, are you using $date$ -1 with 'Variable Operation' command command? For your reference we have attached the task that prints yesterdays date in a notepad using Variable Operation command. Please copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder. Hope that helps. |
| |||
| Hello, In that case, you can create a VB script to get desired date format and then call that script from the task using 'Run Script' command. For your convenience, we have created a VB script for you, which will take yesterday's date returned by 'Variable Operation' command as a parameter and will return that date in 'yyyy-mmm-dd' format. Please copy attached task (.atmn file) under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder. Copy FormatDate.vbs under C:\. Hope that helps. |