Answer by Soner Gönül for Parse RSS pubdate to DateTime
As commented, your format and string matches unless if your CurrentCulture is english-based one. If it is not, it can't parse these Wed and Dec parts successfully.On the other hand, zzz format...
View ArticleAnswer by Lewis Hai for Parse RSS pubdate to DateTime
Change your code to string parseFormat = "ddd, dd MMM yyyy HH:mm:ss zzz"; DateTime date = DateTime.ParseExact(dateString, parseFormat, CultureInfo.InvariantCulture);Hope it helps!
View ArticleParse RSS pubdate to DateTime
I get this date string from an RSS:Wed, 16 Dec 2015 17:57:15 +0100I need to parse into a DateTime. Ive googled and searched stack overflow and gotten to the following answer (ive tried with only one,...
View Article
More Pages to Explore .....