I'm using .NET 4 and getting Input string not in correct format error when executing the following:
TimeSpan dropTime=TimeSpan.ParseExact("01:33 PM", "hh:mm tt", CultureInfo.InvariantCulture);
What am I doing wrong? I tried with the TT too, just in case but that do it. Otherwise my format seems to match?