String: 30/10/2018 11:06:30 AM
I have tried the below codes but it isn’t working. Pls help
row(“LogTime”)(“dd/MM/yyyy HH:mm:ss”)
Convert.ToDateTime(row(“LogTime”).ToString).ToString("dd/MM/yyyy HH:mm:ss”)
DateTime.ParseExact(row(“LogTime”).ToString, "dd/MM/yyyy HH:mm:ss”, System.Globalization.CultureInfo.InvariantCulture)
Thank you xoxo