I am using this code, to parse my date:
DateTime.ParseExact(someElement.Attribute(“date”).Value, “ddd MMM dd HH:mm:ss CEST yyyy”, CultureInfo.InvariantCulture);
the “date” attribute is equal to: Fri Nov 02 16:30:00 CET 2012
But I still get this error, any idea?
You’ve got
CESTin your format string, butCSTin your actual date attribute.