SyntaxFix
Write A Post
Hire A Developer
Questions
have at look at the static methods DateTime.Parse() and DateTime.TryParse(). They will allow you to pass in your date string and a format string, and get a DateTime object in return.
DateTime.Parse()
DateTime.TryParse()
http://msdn.microsoft.com/en-us/library/6fw7727c.aspx