Skip to main content

Overview

The get-date-occurence transformation finds the next (or nearest) occurrence of a date in the current or next year. This is useful for recurring events like birthdays or anniversaries.

Syntax

get-date-occurence(<variable>)

Parameters

ParameterTypeRequiredDescription
variabledateYesThe reference date
inputLocalestringNoLocale used to parse the input date: "pt", "nl", "en", "de", "ja", "zh", or "fr"
useNearestbooleanNoWhen true, returns the nearest occurrence (past or future) instead of always the next one

Examples

get-date-occurence(<variable>)
get-date-occurence(<variable>, useNearest=true)
get-date-occurence(<variable>, inputLocale="fr")