Quantcast
Channel: Parse RSS pubdate to DateTime - Stack Overflow
Browsing all 3 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article



Answer 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 Article

Parse 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
Browsing all 3 articles
Browse latest View live




Latest Images