I have a string in dd/mm/yyyy format. I just need to convert it to DateTime type.
No success using below,
Convert.ToDateTime
DateTime.Parse
DateTime(ParseExtract(“15/6/2018”, “dd/MM/yyyy”,System.Globalization.CultureInfo.CurrentUICulture.DateTimeFormat)
Error:Assign : String was not recognized as a valid DateTime.
Please help, Thanks!