Why can’t DateTime.ParseExact() parse the AM/PM in “4/4/2010 4:20:00 PM” using “M'/'d'/'yyyy H':'mm'
- by Jimmy
I'm using c#, and if I do
DateTime.ParseExact(“4/4/2010 4:20:00 PM”, “M'/'d'/'yyyy H':'mm':'ss' 'tt”, null)
The return value is always 4:20 AM -- what am I doing wrong with using tt?
Thanks!