I’m using an excel sheet that is populated from a user and sent to me, and in one cell is a contract end date. I’m collecting this cell’s data and storing it as a variable with a datatype of DateTime, the assign looks like this:
“s1 = Convert.ToDateTime(dtUserInput.Rows(0).Item(“Contract End Date”).ToString)”
The outcome of that Variable is [04/23/2023 00:00:00], how can I get it to JUST “dd/MM/yyyy”?