Overview
This page documents an importable Data Integrator example configuration (register.configuration.json) named [Example] — Common date formats (identifier example-common-date-formats). It is not built to solve one specific integration; it is a reference snippet consultants can copy into a real flow and adapt.
The configuration is a plain
list-transformer object, so it can be imported directly into a Data Integrator environment and inspected transformer-by-transformer in the flow builder.data transformer with two value-setter blocks: one that evaluates relative date expressions, and one that reformats the current moment into several standard formats.
The relative expressions (
yesterday, next monday, first day of this month, …) and the toFormat tokens (Y, m, d, H, i, s, c, r, U, W, P) follow PHP’s strtotime() phrasing and date() format characters, which is the convention the format-date mapper is built on.Relative date expressions
Example outputs below assume a flow running on Monday, 7 September 2026, 14:32 (Europe/Amsterdam, UTC+2).
The block also contains a
today_with_timezone entry with toFormat set to Y-m-d\TH:i:sP\ (note the trailing backslash). That trailing backslash is a harmless leftover, PHP-style date formatting ignores a dangling escape, so the output is identical to the ISO-8601 c format shown below: 2026-09-07T14:32:00+02:00. If reusing this pattern, drop the trailing backslash (Y-m-d\TH:i:sP) for clarity.