date

FEEL built-in function · Conversion functions

date(from) or date(year, month, day)

Creates a date from an ISO 8601 string, from year/month/day components, or by truncating a date and time value.

Parameters

ParameterTypeDescription
fromstring or date and timeISO 8601 date string, or a date and time to truncate
year, month, daynumbersdate components (alternative form)

Examples

date("2026-07-24")
2026-07-24 Try it →
date(2026, 7, 24)
2026-07-24 Try it →
date(date and time("2026-07-24T13:00:00"))
2026-07-24 Try it →

Related functions

time · date and time · duration

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