DateTime.Parse DD/MM/YYYY 24 Hour Clock
.net, datetime
Solution
Try `DateTime.ParseExact()`:
var result = DateTime.ParseExact(dateString,
"dd/MM/yyyy HH:mm",
new CultureInfo("en-US"));
Problem
DateTime.Parse fails on ``` 15/08/2000 16:58 ``` Any thoughts? I need to parse dates and get some international. DD/MM/YYYY will not flop to 24 hour clock MM/DD/YYYY will accept 24 hour clock 15/08/2000 4:58 PM will parse From the Kibbee answer I looked at using other cultures. I use Regex to determine if it is dd/MM and if so use culture fr-FR.