Hi All,
How to change date format in excel like “12/08/2022” to change as “02-12-2022” in all rows.
Thanks in Advance…!
Hi All,
How to change date format in excel like “12/08/2022” to change as “02-12-2022” in all rows.
Thanks in Advance…!
HI @SURESH_P
How about this expression?
DateTime.ParseExact("12/08/2022","MM/dd/yyyy",System.Globalization.CultureInfo.InvariantCulture).ToString("dd-MM-yyyy")
Regards
Gokul
Hi @SURESH_P
You can try with Format cell activity or change cell type activity
Format Cell
https://docs.uipath.com/activities/docs/format-range-x
https://docs.uipath.com/studiox/docs/tutorial-formatting-cells
Change cell Type
Regards
Gokul
Hi @SURESH_P
Go to → Activities Panel → Click on Filter → Select Show Modern.
Step 1 : Use Excel process scope followed by Use Excel file activities.
Step 2 : Use Format Cell Activity,
You can try to change the format of the column
Regards
Gokul
Hello @SURESH_P
You can use the below expression or the modify date activity.
DateTime.ParseExact(strVar, "MM/dd/yyyy", Globalization.CultureInfo.InvariantCulture).ToString("dd-MM-yyyy")
Thanks
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.