Latest web development tutorials
 

RSS <pubDate> Element


< Complete RSS Reference

Definition and Usage

The <pubDate> element defines the last publication date for an item.


Example

<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">

<channel>
  <title>w3ii Home Page</title>
  <link>http://www.w3ii.com</link>
  <description>Free web building tutorials</description>
  <item>
    <title>RSS Tutorial</title>
    <link>http://www.w3ii.com/xml/xml_rss.html</link>
    <description>New RSS tutorial on w3ii</description>
    <pubDate>Thu, 27 Apr 2006</pubDate>
  </item>
</channel>

</rss>

Try it Yourself »

< Complete RSS Reference