Create DateTime from standard date string?

I get the following error when using DateTime.Parse(‘Tue Jan 22 06:18:32 +0000 2013’):

FormatException: String was not recognized as a valid DateTime.

Is there another method I can use to create a DateTime object using this format?

Thanks!

You can use the methods like Convert.ToDateTime(String), DateTime.Parse() and DateTime.ParseExact() methods for converting a string-based date to a System.DateTime object. More in detail…Convert String to DateTime

Eric