Calculating OffsetDateTime using the dmn feel engine

Hi all,
i am using the dmn engine to compare dates. The engine receives the datetime in the following format (OffsetDateTime in Java): 2023-06-28T12:30:41.432Z

This is an abstract example of my tries:
image

But I have some runtime errors:

Could I process the expression in this format in any way?
I am using org.camunda.bpm.dmn:camunda-engine-dmn:7.19.0.

Yes, comparing date-time values is possible.

From the error message, it seems that the variable event.eventTransfer.bookingDate returns already a date. But the date and time() function expects a string.

So, if the variable is already a date-time value, you can remove the date and time() function invocation in the input expression.

Related documentation: Data Types in the DMN Engine | docs.camunda.org

Does this help you?