FEEL

last day of month

FEEL built-in function · FEEL date and time functions

last day of month(date)

Not part of the DMN 1.6 standard: an extension supported by the engine behind this site. A model that uses it may not run on other DMN engines.

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"))

Edge cases and null handling

last day of month(date("2024-02-10"))
last day of month(date and time("2026-04-10T10:00:00"))

Related functions

day of year · date

Not defined by the OMG DMN 1.6 specification; documented here because the engine behind this site supports it.