Question: how to convert string to date format mm dd yyyy in c#?
Answer: try { dateValue = DateTime. ParseExact(dateString, "MM/dd/yyyy hh:mm", enUS, DateTimeStyles. None); Console. WriteLine("Converted '{0}' to {1} ({2}).", dateString, dateValue, dateValue.