Hi All,
I have a datatable called Marketplace . one of the column is Bot Modified Date . i want to updated all the rows in that column with today’s date . i am using the below code in assign statement
MarketDT.Columns(“Bot Modified Date”).Expression=System.DateTime.Now.ToString(“MM-dd-yyyy”)
but when i try to write the dt value for Bot Modified Date comes as -2047
Is date reflecting in Datatable in studio correct? you can check it from local panel.
If it’s correct then follow below steps.
It seems Excel format. Once you write the Datatable to Excel, Use Activities - Format Cells to format the Column with this format: “MM-dd-yyyy”