Search code examples
roboticsrpaautomationanywhere

Printing weekdays in automation anywhere


Is there a function for printing only weekdays via automation anywhere? I want to try print last 2 weekdays in present day. Any idea? Thanks.


Solution

  • yes you can do it, it's pretty easy just you need to get actual Date from system variables and subtract from it number of days that you need.

    Check BOT below: enter image description here

    Format of system date is mm/dd/yyyy hh/mm/ss so you need to cut of the second part of it.

    enter image description here

    Final result:

    enter image description here