this seems to work NOTE both of the following require the local date class to be added to the report either add this to the <jasperReport> section at the top of source file of the report next to the <property> values : <import value="java.time.LocalDate"/>[/code]or use jasper studio and click report->properties->import->add class then type localDate, see image attached First day of last month default date java.sql.Date.valueOf(LocalDate.now().withDayOfMonth(1).minusMonths(1))[/code]Last day of last month java.sql.Date.valueOf(LocalDate.now().withDayOfMonth(1).minusDays(1))[/code]