RSS lastBuildDate tag: when channel content changed
Open a source-aware analysis with this article as the primary source.
Add us to your Preferred Sources.

The RSS lastBuildDate tag is an optional RSS 2.0 channel element that records the last time the content of the channel changed. It contains a date-time and belongs directly inside <channel>. It is channel metadata, not a date assigned to an individual item.
What the RSS lastBuildDate tag means
The RSS 2.0 specification defines <lastBuildDate> as the last time the content of the channel changed. It lists the element in the optional channel table. The three required channel elements remain title, link, and description.
<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>
<lastBuildDate>Sat, 07 Sep 2002 09:42:31 GMT</lastBuildDate>
</channel>
</rss>This example uses the value shown in the specification. The podcast RSS feed explainer describes the larger document structure. <lastBuildDate> sits under channel, alongside channel metadata and outside each item.
Date-time format for lastBuildDate
The specification says all RSS date-times conform to RFC 822, with one exception. A year may be expressed with two characters or four characters, and the four-character form is preferred. The documented lastBuildDate example contains the weekday, calendar date, abbreviated month, four-digit year, time, and GMT zone:
Sat, 07 Sep 2002 09:42:31 GMTThe date-time is the text value of the element. RSS 2.0 does not define lastBuildDate attributes or child elements for pieces of the timestamp. Keep the full value between <lastBuildDate> and </lastBuildDate>.
RSS is a dialect of XML, and RSS files must conform to XML 1.0. A document conforming to RSS 2.0 has a top-level <rss> element with the mandatory version="2.0" attribute. One <channel> sits below it. Adding optional lastBuildDate does not remove the required channel title, link, or description. The RSS channel title tag and RSS channel link tag explain two of those required fields.
lastBuildDate versus pubDate
<lastBuildDate> and channel-level <pubDate> are separate optional elements. Their definitions focus on different events:
| Element | Meaning in RSS 2.0 |
|---|---|
| `<lastBuildDate>` | Last time the content of the channel changed |
| `<pubDate>` under channel | Publication date for the content in the channel |
| `<pubDate>` under item | Date indicating when that item was published |
The specification gives channel pubDate and lastBuildDate different examples on the same calendar day. Channel pubDate appears at 00:00:01 GMT, and lastBuildDate appears at 09:42:31 GMT. This shows that the values can differ. The examples do not impose that ordering on every feed, and the specification does not prescribe an interval between them.
Item pubDate has its own scope. RSS says an item with a future pubDate may be withheld by aggregators until that date. That statement belongs to the item pubDate definition. The specification does not state the same behavior for lastBuildDate.
What counts as channel content
RSS places both channel metadata and the channel's contents inside the single <channel> element. A channel may contain any number of items. The lastBuildDate definition refers to the content of the channel, but the specification does not provide a narrower list of changes that must alter this timestamp.
The standard supplies the field's meaning, placement, optional status, and date-time rules. It does not define a publishing workflow, a rebuild algorithm, or a schedule for recalculating the value. The podcast update frequency tag guide addresses a separate extension field. It does not change the core RSS definition of lastBuildDate.
RSS 2.0's extension rule also keeps core and namespaced fields distinct. The specification permits elements and attributes not described in the core document only when a namespace defines them. Core RSS elements are not themselves members of a namespace. Write the field as <lastBuildDate> without a namespace prefix.
How to inspect lastBuildDate
Open the raw XML and locate the top-level <rss> element, then its single <channel>. Search for a direct child named <lastBuildDate>. If the element is present, check that it contains the date-time representing the last change to channel content and that the value follows the RSS date-time rule. The four-character year is the preferred form.
Keep placement in view. A similar-looking date inside <item><pubDate> indicates when one item was published. Channel <pubDate> records the publication date for channel content. Neither has the definition assigned to lastBuildDate.
The specification directs authors to the RSS Validator for testing RSS documents. It also states that RSS 0.92 and later have no string-length or XML-level limits, though processors may impose their own limits.
For podcast reporting after your feed is ready, start with Podder Analytics.
FAQ
What is the RSS lastBuildDate tag?
It is an optional RSS 2.0 channel element containing the last time the content of the channel changed.
What format does lastBuildDate use?
It uses the RSS date-time format, which follows RFC 822 except that the year may use two or four characters. Four characters are preferred.
Is lastBuildDate the same as channel pubDate?
No. lastBuildDate records the last time channel content changed, while channel pubDate records the publication date for the content in the channel.
See who's actually listening.
Podder gives you audience demographics, per-episode analytics, and chart tracking. The Chartable alternative that goes deeper.
Start free