Skip to main content

The online documentation indicates business rule operators:

to days, to hours, to minutes, to seconds

Convert to days, convert to hours, convert to minutes, convert to seconds

But there is no example as to how this is actually implemented.  to_minutes() does not work.

I am trying to calculate the duration (time difference) between two dates in a business rule.

Thanks in advance

Ben

 

Hi @USYBENA 

Do you wish to build a business rule?

You can write something like this:

 

In the following Example, I am showing a pop up of time differences as configured in the BR above. This is just for demo, not really useful in real life :)

 

 

In the same way, To Hours will give you the following result

 

Cheers!


Thanks - you are a star.  Could you get them to add something to the documentation?


Reply