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
| Parameter | Type | Description |
|---|---|---|
| date | date or date and time | the value to inspect |
Examples
last day of month(date("2026-02-10"))
28
Try it →
Related functions
Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).