Calculating minutes between two dates

Hi @barreda. Thanks for the response. Sorry was not able to update this recently but it seems like a front-end issue (?) because when I tested the indicator against data it was working fine (though it was showing error in the program indicator interface). See below screenshot of the chart using d2:minutesBetween() expression and the value type is date and time in 2.30. Maybe @Scott or @Markus can help clarify?

For the program rule, I wanted to show a warning for example arrival data and time should be before vitals date and time. I tried d2:minutesBetween() expression, and yes it did not work for me also and the expression that worked for me is #{ArrivalDateTime} > #{VitalsDateTime}. This works in Event Capture in 2.30 as well.

Hope this helps!

1 Like