Could the seconds part in time data be excluded when generating reports from Jasper Server?

Document ID : KB000016093
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

We have a requirement to remove seconds in time data from being displayed in the Jasper Reports. Would it be possible?

 

1.png

 

 

Question:

Could the seconds part in time data be excluded when generating reports from Jasper Server?

Environment:
JasperServer 6.1, 6.3 integrated with Spectrum 10.1.x and Spectrum 10.2.x releases respectively
Answer:

The below error would be observed if seconds are excluded out while generating reports:

 2.png

The reason for the above is as per current design it is mandatory to have seconds specified in time data. Excluding the seconds out is not an option.