This article provides a comprehensive guide on using all the built-in date functions available in Decision Model and Notation (DMN). These functions are essential for modelling business decisions using DMN when you need to handle dates.

DMN Date Functions Reference

Function ParametersExampleResultPurpose
now ()now()“2025-06-19T10:13:32.131429007+10:00”Returns the DMNDateTime object which includes date,day, time offset, timezone and time(including seconds).
today()today()“2024-05-22”Returns the DMNDate object which includes today’s date and day.
day of week (date)
date (Mandatory): Could be a date or date and time.day of week( date(2019, 9, 17))“Tuesday”Returns the day of the week according to the Gregorian calendar enumeration
month of year (date)date (Mandatory): Could be a date or date and time.month of year( date(2019,9,17) )“September”Returns the month of the year according to the Gregorian calendar enumeration
week of year (date)date (Mandatory): Could be a date or date and time.week of year( date(2019, 9,17) )38Returns the Gregorian number of the week within the year
day of year (date)date (Mandatory): Could be a date or date and time.day of year( date(2019,9,17) )260Returns the Gregorian number of the day within the year