Re: Sorting Date/Time Format "Tue, 04 May 2004 03:13:29 GMT"
To convert it, try using XmlConvert.ToDateTime.
"George" <email@example.com> wrote in message
> I'm getting Xml back from an RSS feed. (snippet is pasted below).
> I'm constructing a DataSet out of this Xml by doing a
> check out the pubDate, it comes in the format
> DayofWeek, Day Month Year Time TimeZone
> Tue, 04 May 2004 03:13:29 GMT
> Currently it comes in as text and isn't sortable. Is this dateformat
convertable to a System.DateTime?
<![CDATA[ Bill Gates fined 800,000 dollars for merger violation (AFP via
afp/us_justice_gates_040504031329</link><pubDate>Tue, 04 May 2004 03:13:29
GMT</pubDate><description><![CDATA[ The world's richest man, <b>Bill
Gates</b>, agreed to pay an 800,000 dollar civil penalty to settle
charges he violated merger reporting requirements on an investment he made,
|All times are GMT. The time now is 01:58 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.