Skip to main content

Overview

The get-date-occurrence transformation extracts a specific occurrence or component from a date.

Syntax

get-date-occurrence(<variable>, occurrence="")

Parameters

ParameterTypeRequiredDescription
variabledateYesThe date value
occurrencestringYesThe occurrence to get (e.g., “day”, “month”, “year”, “dayOfWeek”)

Examples

get-date-occurrence(<variable>, occurrence="day")
get-date-occurrence(<variable>, occurrence="month")