RSS channel pubDate tag: feed publication date
Open a source-aware analysis with this article as the primary source.
Add us to your Preferred Sources.

The RSS channel pubDate tag is an optional RSS 2.0 element that records the publication date for the content in a channel. Its value is a date-time. It sits directly inside <channel> and describes the channel's content as a whole rather than the publication time of one item.
What the RSS channel pubDate tag means
The RSS 2.0 specification defines channel-level <pubDate> as the publication date for the content in the channel, and its example explains a daily publication whose channel pubDate changes when its publication date changes. The element is optional. It is not among the three required channel elements.
<rss version="2.0">
<channel>
<title>The Field Notes Podcast</title>
<link>https://example.com/field-notes</link>
<description>Reporting and interviews from working ecologists.</description>
<pubDate>Sat, 07 Sep 2002 00:00:01 GMT</pubDate>
</channel>
</rss>The podcast RSS feed explainer covers how show metadata and item entries share the channel container. In this XML, pubDate is channel metadata because it appears outside every <item> as a direct child of <channel>.
The required date format
The RSS specification says all RSS date-times conform to RFC 822 with one exception: the year can use two characters or four characters, and four characters are preferred. Its channel pubDate example includes a weekday, day, abbreviated month, four-digit year, clock time, and GMT zone:
Sat, 07 Sep 2002 00:00:01 GMTThe entire date-time belongs between the opening and closing tags. There are no separate pubDate attributes for the day, time, or zone in the specification.
RSS is a dialect of XML, so the document must also conform to XML 1.0. For RSS 2.0, the top-level <rss> element has a mandatory version attribute set to 2.0, with a single <channel> beneath it. The channel's title, link, and description remain required even when optional pubDate is present. See the RSS channel title tag and RSS channel link tag for those neighboring required fields.
Channel pubDate versus item pubDate
RSS 2.0 defines <pubDate> in two locations. Its XML parent determines the definition.
| Placement | Status | Meaning in the specification |
|---|---|---|
| `<channel><pubDate>` | Optional channel element | Publication date for the content in the channel |
| `<channel><item><pubDate>` | Optional item element | Date indicating when the item was published |
The item definition adds one behavior that the channel definition does not state: if an item's pubDate is in the future, aggregators may choose not to display that item until the date. The specification does not attach that sentence to channel pubDate. It should not be transferred to the channel field.
Indentation helps readability. The opening and closing elements establish the actual scope.
pubDate versus lastBuildDate
Channel pubDate and <lastBuildDate> are both optional channel elements, and both use RSS date-times. They answer different questions in the specification:
- Channel pubDate records the publication date for the content in the channel.
- lastBuildDate records the last time the content of the channel changed.
The specification's pubDate example is Sat, 07 Sep 2002 00:00:01 GMT, while its lastBuildDate example is later that day at 09:42:31 GMT. These fields can contain different values, but the examples do not establish a required interval or update schedule.
A separate update-frequency tag may express different metadata under an extension. The podcast update frequency tag guide covers that field, which does not alter the RSS 2.0 definition of channel pubDate.
How to inspect channel pubDate
Open the raw feed. Find the single <channel> element beneath <rss version="2.0">, then look for a direct child named <pubDate>. If it exists, confirm that the value is the publication date for the channel content and follows the RSS date-time rule. A four-character year follows the specification's preferred form.
Do not rely on a text search for <pubDate> alone. A feed may contain the channel element plus separate pubDate elements for individual items. Trace each matching tag to its immediate XML parent before deciding what date it represents.
Next, compare its placement with any pubDate elements inside items because the shared element name does not make their meanings interchangeable. Check lastBuildDate separately. It records when channel content last changed rather than the publication date assigned to that content.
The RSS specification says documents can be tested with the RSS Validator. Validation can check the document against RSS rules, while a source review establishes which date your publishing process placed in each field. RSS 0.92 and later do not impose string-length or XML-level limits. Processors may set their own limits.
For reporting once your feed is set up, start with Podder Analytics.
FAQ
What is the RSS channel pubDate tag?
It is an optional RSS 2.0 channel element containing the publication date for the content in the channel.
What date format does channel pubDate use?
RSS date-times conform to RFC 822, except that the year may contain two or four characters. The specification prefers four characters.
Is channel pubDate the same as item pubDate?
No. Channel pubDate is the publication date for channel content, while an item's pubDate indicates when that item was published.
See who's actually listening.
Podder gives you audience demographics, per-episode analytics, and chart tracking. The Chartable alternative that goes deeper.
Start free