var dateToConvert = "Wed Oct 02 2013 00:00:00 GMT+0100 (GMT Daylight Time)";
var format = "ddd MMM dd yyyy HH:mm:ss 'GMT'zzz '(GMT Daylight Time)'";
var date = DateTime.ParseExact(dateToConvert, format, CultureInfo.InvariantCulture);
Console.WriteLine(date);
You need to indicate the ending with 'GMT'zzz '(GMT Daylight Time)'
You can use single din formatinstead dd, works great
You can check the demo here.
source
share