I am having an issue converting this date format into another format. I was hoping that somebody on here would be able to help me out.
Here is my code:
s
string fromFormat = "ffffd, dd MM yyyy HH:mm:ss zzz"; string toFormat = "yyyy-MM-dd"; DateTime newDate = DateTime.ParseExact("Mon, 22 03 2013 00:00:00 +00:00", fromFormat, null); Console.WriteLine(newDate.ToString(toFormat));