Skip to main content

Overview

The parse-date transformation parses a date string into an ISO 8601 date string.

Syntax

parse-date(<variable>)

Parameters

ParameterTypeRequiredDescription
variablestringYesThe date string to parse
useCurrentYearbooleanNoWhen true, replaces the parsed year with the current year
inputLocalestringNoLocale used to parse the input date: "pt", "nl", "en", "de", "ja", "zh", or "fr"

Examples

parse-date(<variable>)
parse-date(<variable>, inputLocale="fr")
parse-date(<variable>, useCurrentYear=true)