Skip to content

Format a date

Writes a date in ISO 8601, the format Google expects, or in a format of your own.

Group: Text

Google’s date attributes (sale price effective date, expiration date, availability date) expect ISO 8601: 2026-11-05, or 2026-11-05T14:00:00+01:00 with a time. Sources often send 05/11/2026, 2026-11-05 14:00:00 or a Unix timestamp.

  • Dates in the source:
    • Recognize automatically (the default) reads ISO 8601, 05/11/2026, 2026/11/05 and Unix timestamps.
    • Day/month/year reads 05/11/2026, and Month/day/year reads 11/05/2026.
    • Unix timestamp in seconds or in milliseconds.
    • Custom format takes a format of your own (see below).
  • Write as:
    • Date, such as 2026-11-05 (the default).
    • Date and time, such as 2026-11-05T14:00:00+01:00.
    • Custom format.
  • Time zone: Europe/Paris by default. It is used to read a time that has no offset, and to write the result.
  • Keep the value when it is not a date: off by default, so a value that is not a date gives an empty value. On, the value is left as it was.

A format is made of these parts. Anything else is written as it is.

Part Means Example
YYYY year 2026
MM / M month, with or without a leading zero 05 / 5
DD / D day, with or without a leading zero 07 / 7
HH / H hour, 0 to 23 14
mm minutes 30
ss seconds 00

For example, DD/MM/YYYY HH:mm reads 05/11/2026 14:30.

Before Settings After
05/11/2026 Day/month/year, Date 2026-11-05
2026-11-05 14:00:00 Recognize automatically, Date and time 2026-11-05T14:00:00+01:00
1762300800 Recognize automatically, Date and time 2025-11-05T01:00:00+01:00
05/11/2026/12/11/2026 Day/month/year, Date 2026-11-05/2026-11-12
soon Recognize automatically empty
  • A start/end range, as the sale price effective date uses, is formatted on both sides of the /.
  • In automatic mode, a date such as 01/02/2026 could be read either way. It is read day first (1 February), and the run details say so. If your source writes the month first, choose Month/day/year.
  • A value that is not a date never stops the run: the run details count the products where it happened.
  • An empty value stays empty.