How to change the date format of the input parameters in jaspersoft report (with class type java.util.date) from MM/DD/YY to DD/MM/YY -


i have jasperreport datefrom ,dateto, rundate input parameters.class type java.util.date. want change date format dd/mm/yy mm/dd/yy.so changes need do?

i suggest use xml view , try this:

  new simpledateformat("dd/mm/yy").format($p{datefrom}) 

Comments