Why can't I parse this line:
DateTime date = DateTime.ParseExact("23.02.2016 08:59:35", "dd.MM.yyyy HH:mm:ss", CultureInfo.InvariantCulture);
Throws an exception
The string was not recognized as a valid DateTime.
I really do not understand.
c # datetime
user2617750
source share