All guides

n8n record times: Date & Time zones and retained fields

Inspect input zones, workflow zones and parsing formats before formatting, while retaining traceable fields.

AINavWritten / Updated Sources checked
On this page

At a glance

The goal is to create an explicit display time for AI records while retaining the original timestamp and id. Input time and zone must be known. The Date & Time page was checked, and standard timestamp strings were used locally to compare dates for one instant. n8n and its Luxon node were not run.

Input, configuration and output checks

  1. Define input

    Inspect identifiers and field types.

  2. Configure the operation

    Choose the documented mode and relevant options.

  3. Inspect results

    Check mapping and output before downstream use.

Documentation and local fixtures are separate from product execution.

Retain the original instant and identity

The synthetic record has id=a and occurred_at=2026-11-08T16:30:00Z. Its date is November 8 in UTC and November 9 at +08:00; local checks only establish that the representations denote one instant. An unzoned string is not automatically UTC, and model-generation time is not event time. Establish semantics and the workflow zone before selecting a display format, retaining the original field.

Configure Format a Date

Select Format a Date, point Date to the checked input, choose a preset or Custom Format, and use a new Output Field Name such as display_time. Custom formatting uses case-sensitive Luxon tokens; preset labels are not automatically custom-token strings. If parsing fails, describe the actual input through From Date Format and inspect the parsed result. A date-looking output does not prove a correct instant.

Configure zone selection and field retention separately

The docs describe workflow timezone taking precedence over instance timezone. For Format a Date, Use Workflow Timezone off uses the input zone and on uses the workflow zone. Include Input Fields off emits only the new field; on retains input fields. This exercise needs id and occurred_at, so inspect that option before adoption. A correct display date can still lose record mapping. Do not overwrite the sole original timestamp.

Verify a sample that crosses a date boundary

Local checks compare millisecond values for UTC and +08:00 strings and model input-field retention. Node parsing, daylight saving and custom tokens were not tested. In a workflow, use a known-zone sample and inspect original time, display date and id. Stop downstream ordering or publication-time decisions on an unzoned input, parsing failure or lost fields. Zone conversion cannot supply an unknown event date.

Article sources

Original editorial content; official descriptions and checking suggestions are distinguished.

  1. n8n · Official sources
    View details