1

Why can't .Net parse:

DateTime.ParseExact("9301015", "Hmmssff", CultureInfo.InvariantCulture);

but it can parse this?

DateTime.ParseExact("9:301015", "H:mmssff", CultureInfo.InvariantCulture);

The first code block throws a System.FormatException

Striker
  • 567
  • 1
  • 4
  • 12

0 Answers0