I have a String stored in this format "10/10/2009 12:00:00".
I would like to convert this into a DateTime object so I can add it into the Outlook calender.
I have tried using the following code but it doesnt seem to work.
DateTime startDate = DateTime.Parse(appointments);
(where appointments is a string in a point in an array)
I have also tried using the following code to parse butit hasnt lead to anything for me:
System.Globalization.DateTimeFormatInfo info = new System.Globalization.DateTimeFormatInfo();
Can somebody show me how to parse the above format or by another method i cant seem to get to work either way. Many thanks