I have Field $F{date} with format timestamp. At the moment in ireport in the Report the Text Field Expression is this: DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM).format($F{date}) The result is: 27.04.2021 15:15:00 But I need only the date without the time: 27.04.2021 And I don't know how it works. When I use getDateInstance: DateFormat.getDateInstance(DateFormat.MEDIUM, DateFormat.MEDIUM).format($F{date}) I get a problem: The method getDateInstance(int) in the Type DateFormat is not applicable for the arguments (int,int) What can I do?