Re: [rules-users] Using DateFormat and getting today's date in drools5.0

2011-12-28 Thread kwyto
I'm having a similar problem, but so far I have found that drools.dateformat is a System Property. You can set it in your code by using System.setProperty("drools.dateformat", "dd/MM/"). although the default is dd-MMM- (12-DEC-2008). Also, I'm using tomcat so to set it using command line us

Re: [rules-users] Using DateFormat and getting today's date in drools5.0

2009-11-19 Thread ABRA2
Can somebody help me please? i am not able to find answers to this question yet. thanks ABRA2 -- View this message in context: http://old.nabble.com/Using-DateFormat-and-getting-today%27s-date-in-drools5.0-tp26402736p26424219.html Sent from the drools - user mailing list archive at Nabble.com

[rules-users] Using DateFormat and getting today's date in drools5.0

2009-11-17 Thread ABRA2
I need to compare date from java bean to system date for a rule. I referred to previous posts, drools expert documentation and tried to come up with a rule which is not yet working. Please help me for the same. 1. Which package should i import to use DateFactory? It is not in org.drools.base.eval