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
There are two issues:
1) The day selected was a Friday not a Monday
2) The 'zzz' wants a plus or minus 0:00
So, to get it to work would be:
string fromFormat = "ffffd, dd MM yyyy HH:mm:ss zzz";
string toFormat = "yyyy-MM-dd";
DateTime newDate = DateTime.ParseExact("Fri, 22 03 2013 00:00:00 +0:00", fromFormat, null);
Console.WriteLine(newDate.ToString(toFormat));