last day of month

FEEL built-in function · Temporal functions

last day of month(date)

Returns the day number of the last day of the value's month (28, 29, 30 or 31), handy for billing-period and deadline logic.

Parameters

ParameterTypeDescription
datedate or date and timethe value to inspect

Examples

last day of month(date("2026-02-10"))

Related functions

day of year · date

Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).