I\'ve used an Excel file as datasource for building report with iReport. The xls file contains dates yyyy-MM-dd format.
It is quite simple.
I've xls file (birhdays.xls) like this:
The datasource definition (in iReport) is:
As you can see from the image above I've set yyyy-MM-dd
format for date field in DS definition.
The date field definition in jrxml file:
The full jrxml file:
And the result will be (via preview in iReport):
Note:
I've used iReport 5.1.0