hello friends, I need to save the date in the format
BASE-dd-MM-yyyy.XLS
I’m using
System.DateTime.Now.ToString(“dd-MM-yyyy”)
in this format it is outputting only the date
dd-MM-yyyy
“BASE-” + Now.ToString(“dd-MM-yyyy”) + “.XLS”
Hi
You are giving condition for a date only
try this
"BASE-"+System.DateTime.Now.ToString(“dd-MM-yyyy”)"+.XLS"
If there is any folder path, try this
"YourPath\"+"BASE-"+System.DateTime.Now.ToString(“dd-MM-yyyy”)"+.XLS"
Hello @pauloengenharia5
Plz check the below .
How to Modify Date in UiPath? Modify Date activity explained with demo
Thanks
This is literally no different than what I answered, except you have an extra double quote that will cause an error. You don’t need the System.DateTime reference, you can just start with Now.ToString as I did. His problem was the filename was ending up only the date, but he also needed BASE- on the beginning and the .XLS extension added.
The folder path is supplied in the first property of the activity, as shown in his screenshot.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.