I have a problem passing date parameter from java into jasperreport, please help! Im getting empty output This is a call from java Code:Date d1=null,d2=null; String result1="",result2=""; SimpleDateFormat df=new SimpleDateFormat("dd MMM yyyy"«»); Map<String, Object> params = new HashMap<String, Object>(); try { d1=df.parse("1 april 2007"«»); result1=df.format(d1); d2=df.parse("10 april 2007"«»); result2=df.format(d2); } catch (ParseException ex) { ex.printStackTrace(); } params.put("start_date",result1); params.put("last_date", result2); params.put("currency_type","834"«»); And this is my parameter and sql in jasper report Code:[code] <parameter name="first_date" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[it takes the first date]]></parameterDescription> </parameter> <parameter name="last_date" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[it takes last date]]></parameterDescription> </parameter> <parameter name="currency_type" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[the currency type]]></parameterDescription> </parameter> <queryString><![CDATA[select a.card_number,a.transaction_local_date,m.company_name,a.trace_audit_number,a.transaction_fee,a.transaction_amount,a.transaction_currency from autho_activity a,ptserv p,merchant m where a.card_acceptor_id = p.outlet_number and p.merchant_number = m.merchant_number and to_date(a.transaction_local_date) between TO_DATE($P{first_date}, 'dd/mm/yy') and TO_DATE($P{last_date}, 'dd/mm/yy') and a.transaction_currency = $P{currency_type} and a.acquirer_bank='983411']]></queryString> im using oracle 9i