I am trying to parse the following format to a datetime:
11/06/2020 - 18:13
I tried:
DateTime t= DateTime.ParseExact(data[i][j], "dd/MM/yyyy - hh:mm", CultureInfo.InvariantCulture);
but it gives exception:
System.FormatException: 'String was not recognized as a valid DateTime.'