Hi,<br>   I&#39;ve a fact which is retrieved from database using hibernate. The date format that comes in is &quot;yyyy-mm-dd&quot;, java.util.Date. The fact has two variables <b>startDate</b> and <b>endDate. </b>I want to check if the the <b>current date</b> lies between these two. Since the current date is not constant I&#39;m trying to use a global variable, which I would setbefore firing the rules. My question is what should be the datatype of this global variable. If I use Date the format is completely different. If I use String it says that date can&#39;t be compared with string.<br>

<br>    However if I hard code the value of current date in &quot;<b>dd-MMM-yyyy</b>&quot; rule fire fine. Can someone please suggest me a way to achieve this. Thanks in advance.<br clear="all"><br>-- <br>cheers<br>Sumatheja Dasararaju<br>

<br><br>