Hi, I have 2 dates and I want compare them in mvel coding.
example : public class MyObject { Date nextDate; Date previousDate; } a rule : rule "example" dialect "mvel" when $obj:MyObject( nextDate - previousDate > 30) then System.out.println($obj); end Of course, it doesn't work but maybe somebody have a solution ? thanks, V. -- View this message in context: http://www.nabble.com/Number-of-days-beetween-two-dates-tf4670492.html#a13342153 Sent from the drools - user mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users