0
我试图将Rss中的pubDate转换为EST。如果你看看下面的链接,他们有不同的时区。是否有一个函数可以使用任何类型的dateformat并转换为EST?将rss pubDate转换为.NET中的EST
http://rss.cnn.com/rss/cnn_topstories.rss
http://www.cricinfo.com/rss/content/story/feeds/0.rss
http://feeds.latimes.com/latimes/entertainment?format=xml
http://newsrss.bbc.co.uk/rss/newsonline_world_edition/business/rss.xml
他仍然需要解析字符串。 – SLaks 2009-12-21 15:03:20
'DateTime.Parse(“Mon,21 Dec 2009 09:52:27 EST”)'失败。 – SLaks 2009-12-21 15:06:44
是的,需要RFC 822格式的日期时间分析器(http://stackoverflow.com/questions/284775/how-do-i-parse-and-convert-datetimes-to-the-rfc-822-date-time -format) – 2009-12-21 15:19:18