Both answers can be found easily in the Drools Expert manual. Use '<' for before.
The format for Date literals is "dd-mmm-yyyy", or set drools.dateformat for another one. -W On 03/07/2013, ashish6276 <[email protected]> wrote: > Hi > > I have 2 dates in my rule. i need to compare between those rules. how to > do this in drools expert. > > ex: in my rule i have effective date and start date > > When > > effective date is before start date > > then > > I need to do something > > I have a ques what is the syntax of date which drools by default > supports. > is there any syntax for date in drools. > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/operating-with-date-in-drools-tp4024740.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
