I’m not able to convert the column date to dd/MM/yyyy completely in Excel, I need help!
The datetime would be taken as your locale format and then gets converted
So while writing to excel as well you have to take care to write in the same format as your locale to make it understand when you use a format cell
Cheers
It’s not converting, it’s just changing the Layout, can you help me?
DateFormat.zip (115.8 KB)
try this ,
row(“Date”) = DateTime.Parse(row(“Date”).ToString).ToString(“dd/MM/yyyy”)
Happy Automation!
Hey @Richarlei_Reis first read the excel using read range save as dt(datatable) now using for each row inside for each use 1 assign activity
Of string variable and pass the method
DateTime.ParseExact(“01/02/2025”, “MM/dd/yyyy”, System.Globalization.CultureInfo.InvariantCulture).ToString(“dd/MM/yyyy”)
So it will convert your date .
Cheers
Hey, the easiest way out would be to change all the column types in the above excel
to text , instead of the Excel
identifying the column to be as a date. once the columns are set to text , the data should be there in the original
format .
Let me know how it goes
Thanks it helps to format cells value.