Overview
Theformat-date-locale-var transformation formats a date value using a locale provided as a variable. This is similar to Format Date, but the output locale comes from a variable instead of a static option.
Syntax
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
variable | date | Yes | The date value to format |
locale-variable | variable | Yes | The locale variable (e.g., "en-US", "fr-FR") |
format | string | Yes | The predefined format key (see Format Date for available formats) |
timezone | string | No | The timezone to use (e.g., "UTC", "Europe/Paris"). Defaults to "UTC" |
inputLocale | string | No | Locale used to parse the input date: "pt", "nl", "en", "de", "ja", "zh", or "fr" |