variablestimestamprpaautomationanywhereminute

how to make the minute variable in automation anywhere show two digits when minutes is less than 10


In Automation Anywhere, the minute system variable ($Minute$) will only return 1 digit if minutes is less than 10. The variable manager doesn't allow for the format to be edited.

Can you please suggest any workarounds? Thanks!


Solution

  • The same approach can be done for the hour variable as well.

    enter image description here