How to convert the following date string in to the DateTime format in C# .Net
"Sun Feb 28 00:00:00 GMT+0530 2010"

You need to use DateTime.ParseExact() -- http://msdn.microsoft.com/en-us/library/w2sa9yss.aspx along with the the format specifiers on this page.

I tried to get it to work but it was fighting me on the GMT specifier. However, if you move the date to right after the month it will match the built in "R" specifier and you can read it with DateTime.Parse("R");

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.