Time zone and Java version | Adjusting for daylight saving time
Java version and time zone data
Time zone data is included in the JRE used with your instance. Depending on the version of your JRE, you may experience unexpected behavior based on changes in the time zone data release.
To see the default time zone tzdata in each JRE, see Timezone Data Versions in the JRE Software.
Example: America/Santiago system time zone
The version of Java used by your instance may not include recent time zone changes. For example, if the system time zone is set to America/Santiago, the time zone tzdata release used with Java 1.6 causes the time zone to display as UTC/GMT-3 instead of UTC/GMT-4 during daylight saving time (DST).
This discrepancy in time zone is due to Chilean seasonal clock changes. In early 2015, Chile had planned to switch from seasonal DST to permanent DST. As a result, updated time zone rules were included in JRE releases 6u95, 7u80, 8u45 to account for this change. However, in March 2016, Chile reverted back from permanent DST to seasonal DST. As a result, instances using the affected JRE releases and with America/Santiago defined as the system time zone were off by one hour during daylight saving time.
The JRE release tzdata2016c found in Java 1.8 solves this issue and accounts for seasonal DST in Chile. If you experience an issue similar to the above, contact ServiceNow Customer Support support to request the update.
Alternatively, you can set the system time zone to use the time zone format (GMT) instead of the Country/City format.
Note: The method in this workaround manually sets your instance to the correct time zone and will not adjust for daylight saving time. During daylight savings time, you will need to manually reset your system time zone to the correct time.
- Navigate to System Properties > System.
- Locate the property System timezone for all users unless overridden in the user's record [glide.sys.default.tz].
- Set the property to the desired time zone using the time zone format. For example, Etc/GMT+4.
- For available values, see database time zones.