How to parse utc date
How do I Parse Date like
Sat Aug22 14.00:00 UTC +200 2009
I tried using
DateTime.ParseExact开发者_开发问答("Sat Aug 22 14.00:00 UTC +200 2009", "ddd MMM d HH:mm:ss UTC yyyy", null);
Try this, it works. After 14, you have "." - change it to ":"
DateTime.ParseExact("Sat Aug 22 14:00:00 UTC+0200 2009",
"ddd MMM d HH:mm:ss UTCzzzz yyyy", null);
Reference
精彩评论