1.7 XML sitemapsMediumVerified

lastmod wrong date format

What it is

lastmod has to be in the W3C datetime format. A non-conforming date is ignored, so the freshness hint I meant to give is silently dropped. Non-W3C date format. Invalid dates are ignored. Use W3C/ISO 8601 dates. Low-medium. Direct.

Why does lastmod wrong date format matter for AI search?

Invalid dates are ignored.

How do you fix it?

Use W3C/ISO 8601 dates.

How do you find it on your site?

  1. Check the lastmod format, it should look like 2026-06-13 or a full ISO timestamp.
  2. Validate the sitemap with a sitemap validator.
  3. Fix the generator to output W3C datetime format.
  4. Re-validate.

Which ranking and citation factors does it touch?

An invalid date is discarded, so the page loses its freshness hint. Correct formatting is a small but real crawl-efficiency win.

What is the impact?

Low-medium. Direct.

What is the evidence?

Use W3C datetime format for lastmod. Google Search Central, Build and submit a sitemap

Frequently asked questions about lastmod wrong date format

What does "lastmod wrong date format" mean?

Non-W3C date format.

How do you fix lastmod wrong date format?

Use W3C/ISO 8601 dates.