CheckMySchema

Structured data explained

How to Check an Article Date When Its UTC Timestamp Is on a Different Day

Compare a visible byline with Article JSON-LD across a UTC day boundary using a tested time conversion and the live template output.

    A watch and note cards sit beside a laptop on a dark desk.
    A local date and a UTC timestamp can describe the same publication.
    CheckMySchemaCheckMySchema

    At a glance

    Convert both values to the same instant and render it in the publication’s display zone before comparing the calendar date.

    Check the article node and canonical

    Write an explicit UTC timestamp as YYYY-MM-DDThh:mm:ssZ. Before checking an article byline against that value, convert the instant to the publication’s display zone. An instant shortly after midnight local time can belong to the previous date in UTC. The published page can still show the correct local date.

    Save the two fields from one live response

    Open the public article and copy its visible publication date. Inspect the Article or BlogPosting node describing that page and copy its datePublished. If it has a separate update label, capture dateModified separately. Keep the two roles paired. A correct modification date cannot repair an incorrect publication date.

    If a template emits multiple article nodes, find the one that represents the canonical page. Look for the datetime attribute of the visible time element when it exists. Its value can differ from the text.

    Published maps to datePublished and Last updated to dateModified.
    Read both roles from the same public response.
    Two empty note cards sit on a pale desk.
    Save the visible and structured date values together.

    Sources: Article structured data · Influence your byline dates in Google Search

    Compare the same instant across the day boundary

    Suppose the editorial record gives 2026-10-24T00:15:00+02:00 as the publication instant. Subtract two hours to get 2026-10-23T22:15:00Z. Those values name the same instant. The sample publication displays October 24 locally, so an October 24 byline can agree with the previous day's UTC timestamp.

    Copying the local value and replacing the offset with Z would instead give 2026-10-24T00:15:00Z. That is two hours later. The string is syntactically valid, so a formatting check alone misses this mistake.

    The same instant is October 24 at 00:15 at UTC plus two and October 23 at 22:15 in UTC.
    Confirm the instant before comparing the dates.

    Two similar-looking UTC values

    Converted instant

    2026-10-23T22:15:00Z matches 00:15 on October 24 at UTC+02:00.

    Offset replaced with Z

    2026-10-24T00:15:00Z is two hours later.

    Check the conversion rule in RFC 3339: Date and Time on the Internet.

    Sources: IETF

    Use the actual zone the publication displays

    Check the site’s settings or rendering code for the display zone. An offset such as +02:00 applies at a particular instant. It does not specify a region or its daylight-saving rules. Use the publication’s actual zone configuration when turning the UTC instant back into a calendar date.

    A date-only display can follow Google’s guidance. If the page shows a time, check it too. A source value that contains only the date does not establish a publication time of midnight.

    Sources: IETF · Google Search Central

    Preserve the precision of the source

    Treat a complete timestamp and a calendar date as different inputs. If the editorial system only retains a date, keep that precision in the evidence and fix the template’s source of truth. Consult the target consumer’s property requirements before changing the representation. Avoid inventing a publication time to satisfy a validator.

    For a visible “Last updated” date, use the equivalent modification value. Keep the original publication time distinct after the article is revised.

    Check each visible signal against its equivalent.
    Visible signalStructured valueCheck
    PublisheddatePublishedSame date in the display zone
    Last updateddateModifiedSame modified date and time if shown
    Date-only sourceOriginal precisionFind a trusted record before adding a time

    Read the date guidance in Influence your byline dates in Google Search.

    Sources: Article structured data · Influence your byline dates in Google Search

    Verify the emitted article again

    Make a regression fixture immediately before or after local midnight. Confirm that the local and UTC values resolve to the same instant. Verify the calendar date in the rendered byline. Repeat the check on the custom domain after the native build. The outcome is consistent visible and machine-readable data. Google still decides whether it will show a date in search results.

    The source, converted UTC and incorrectly replaced offset are shown on three separate rows.
    The incorrect result is a valid string for the wrong instant.

    Keep one repeatable date fixture

    • Read the byline and article node.
    • Confirm the display zone.
    • Convert the timestamps to the same time basis.
    • Verify the custom-domain date.

    For the related task, see Review the timestamp notation.

    Sources: Influence your byline dates in Google Search · Article structured data

    Frequently asked questions

    Does Z mean the time is expressed in UTC?

    Yes. Convert the clock value before changing a nonzero offset to Z.

    Can the byline show only the date?

    Yes. Google’s guidance permits a date-only visible byline. The equivalent values should agree.

    Is a numeric offset the same as a time zone?

    It gives the relationship to UTC at that moment. Keep the named display zone when rendering dates across changes in offset.

    Does passing guarantee a date in search results?

    Google chooses whether to show a date. This checks page data and the visible byline.

    CheckMySchemaCheckMySchema

    Identify the article node for the right URL

    Verify which public page the graph describes.

    Check the article node and canonical

    Continue with a related guide

    References