title: converting date parameter to simpledate format using iReport
body: <p>I have a <code>startDate</code> and an <code>endDate</code> as an input parameters.
  This parameters are used in the query say:</p>
  
  <pre class="lang-sql prettyprint-override"><code>SELECT * FROM patientRecords 
  WHERE patientRecords.dateOfdischarge BETWEEN $P{startDate} AND $P{endDate} 
  </code></pre>
  
  <p>Now, since the <code>startDate</code> and <code>endDate</code> are the parameters which are passed to the <code>JasperReports</code>.</p>
  
  <p>I have to ensure that they are in <code>mm/dd/yyyy</code> Date format.</p>
  
  <p>How do I go about converting the input parameter to this format using <code>iReport</code>?</p>