Hi @Zara_Yasmin
Welcome to the UiPath Community Forums!
Did you mean April 11 in the second format?
I have created a workflow to assist you. Take a look here. Main.xaml (6.8 KB)
Note: Inputs in Red. Result in Orange.
I have referenced the Date Formats found here:
DateTime Format In C# (c-sharpcorner.com)
Steps undertaken:
Step 1: I had to remove the “CT” first.
Step 2: I then used CDate(Inputstring).tostring(Insert Date Format)
Step 3: Log output and validate result.
Take a look at this great post also:
Hopefully this helps
Cheers
Steve