Overview
Theget-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
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
variable | date | Yes | The reference date |
inputLocale | string | No | Locale used to parse the input date: "pt", "nl", "en", "de", "ja", "zh", or "fr" |
useNearest | boolean | No | When true, returns the nearest occurrence (past or future) instead of always the next one |