I have a report that has several dates on it. The dates are stored in the database in UTC format. I have the report converting UTC to local report time, however, one of the dates is date-of-birth. The database field is yyyy-mm-dd 00:00:00. When the DOB is displayed on the report the date/time is adjusted -4, -5 or -6 hours and displays as the previous day.
How can I keep the DOB from being adjusted to local time?
For jasper-server, add it into:
You'll notice other jar files there as well. WIll require a server restart to take effect.
If you're just using IReport/Jasper Studio, you'll need to add the jar to the class path, something along the lines of
The code reference will be something like; see the ref to the example field below? You'll probably be able to make a go of it after this example: