Flexible Time Zone Options
You can set time zone in both Report Designer and Server in a variety of ways. This topic describes the different time zone options.
On Server, you can change time zone at the server level for displaying date and time on the Server UI and in reports and parameters.
You can also set time zone at the session level to work in one report or user session, such as in the session and the URL for running reports or dashboards, using the property rpt_timezone.
Furthermore, in the XML data source, you can set different time zones for different date and time values. To make the time zones work on the values, you can run reports using URLs and add the parameter CustomOffset=true in the URLs, on Report Server.
For Date type fields, you can add the variable -Dreport.date.withTimezone in the server startup file JRServer.bat/JRServer.sh to control whether date fields are time zone sensitive. The default value of this variable is false. When -Dreport.date.withTimezone=false, Server does not set time zone offset and uses the JVM time zone for date type fields. When -Dreport.date.withTimezone=true, Server applies JVM time zone to date field values in the database and then converts them according to your server profile time zone.
Besides, in Report Designer, you can view and export reports with value-level time zone that you set in the XML data source, by enabling the Use value time zone option.
Comments
0 comments
Please sign in to leave a comment.