Parsing pubDate in RSS

When reading data from an RSS feed using XMLdataSources and DataLists you often get very confused when it comes to parsing the pubDate. Below is an example showing how it can be done.

<%# String.Format("{0:g}", DateTime.Parse(XPath("pubDate")))%>

Post a comment

Comments closed