I'm using this class to display rss feed in ASP classic: http://www.tele-pro.co.uk/scripts/rss/rss_content_feed_class_dl.htm
The date is displayed like this: Wed, 22 Apr 2009 18:42:06 GMT
and I would like to display it like this 22 Apr 2009 18:42:06 (skip the day and GMT)
Do you know what I have to change in the code?
This is the code:
response.write "<b>" & rss.ChannelTitle & "</b><br><br>"
For Each i in rss.Results
response.write rss.PubDates(i) & ""
response.write rss.ItemHTML(i) & "<br><br>"
Set rss= Nothing
In the class page, I think this is the code that displays the date and time:
on error resume next
res_date = Node.selectSingleNode("pubDate").Text
If (Trim(res_date)="") Then
res_date = Node.selectSingleNode("EndTime").Text
on error goto 0