<h6 class="title">i copy the following from the Documentation. i thought it means that drools is going to auto convert the string "27-Oct-2007" into a java Date object.<br></h6><br>+++++++++<br><h6 class="title">Date</h6><div>The date format "dd-mmm-yyyy" is supported by default. You               can customize this by providing an alternative date format mask               as a System property ("drools.dateformat" is the name of the               property). If more control is required, use the inline-eval               constraint.</div><div class="example"><a name="d0e3466"></a><div class="title"><b>Example&nbsp;6.20.&nbsp;Date Literal Restriction</b></div><div class="example-contents"><pre class="programlisting">Cheese( bestBefore &lt; "27-Oct-2007" )<br>+++++++++++++++++++++++++<br></pre></div></div><br><span style="text-decoration: underline;"><br><br></span> Newsgroups: <a href="http://news.gmane.org/gmane.comp.java.drools.user"
 target="_top">gmane.comp.java.drools.user</a><br> Date: 2008-01-23 23:32:42 GMT  (4 hours and 13 minutes ago)<br> <div> </div> <div>Were you compairing Date agaist string here, as your double quotes indicate?</div> <div><br class="webkit-block-placeholder"></div> <div>Xiandong<br><br>Sent from my iPhone</div> <div> <br>On Jan 23, 2008, at 17:33, jack wu &lt;<a href="mailto:jackxwu%20%3Cat%3E%20yahoo.com">jackxwu &lt;at&gt; yahoo.com</a>&gt; wrote:<br><br> </div>  if i have several levels of java beans, the Date is not working. example:<br><br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; m:Message( first.second.date &gt; "01-jan-2007" )<br><p>&#32;



      <hr size=1>Never miss a thing.  <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>