Skip to content

CdmWeekOrdinal

Supported in v9.5+ The ordinal position of a week within a month for day-of-week patterns. Used to specify which occurrence of a day (e.g., the second Friday, the last Sunday).

Values

Value Description
WEEK_ORDINAL_FIRST First occurrence of the specified day in the month.
WEEK_ORDINAL_FOURTH Fourth occurrence of the specified day in the month.
WEEK_ORDINAL_LAST Last occurrence of the specified day in the month.
WEEK_ORDINAL_SECOND Second occurrence of the specified day in the month.
WEEK_ORDINAL_THIRD Third occurrence of the specified day in the month.