Skip to main content

Overview

The format-date transformation formats a date value according to a specified format pattern.

Syntax

format-date(<variable>, format="")

Parameters

ParameterTypeRequiredDescription
variabledateYesThe date value to format
formatstringYesThe format pattern (e.g., “YYYY-MM-DD”)

Examples

format-date(<variable>, format="YYYY-MM-DD")
format-date(<variable>, format="DD/MM/YYYY")