title: How do I compare current date in jrxml file for jasper reports?
body: <p>I want to compare date with current date but I am not getting how to represent current date in jrxml.
  Code is something like this</p>
  
  <pre><code>&lt;textFieldExpression class="java.lang.String"&gt;
      &lt;![CDATA[ $F{dueDate} &gt; [new java.util.Date()] ? "some value" : "some other value" ]]&gt;
  &lt;/textFieldExpression&gt;
  </code></pre>
  
  <p>Can you please tell me correct representation of this code?</p>