I found similar questions, but none is covered this case.
Im trying to do follows:
string dateTime = "28.11.2020 16:08:43"
var date = DateTime.ParseExact(dateTime, "dd.MM.yyyy hh:mm:ss", CultureInfo.InvariantCulture)
but Im getting exception:
System.FormatException: String '28.11.2020 16:08:43' was not recognized as a valid DateTime.
at System.DateTime.ParseExact(String s, String format, IFormatProvider provider)