Modify the Olson time zone database
- Last UpdatedApr 24, 2025
- 1 minute read
To modify the Olson time zone database
-
Update the %DataDir%\Shared\sdk\3rdParty\ZoneInfo\tzdata\ file.
For example, to update the MST time offset from -7:00 to -10:00:
-
Locate the config in C:\AVEVA\DNA\Shared\sdk\3rdParty\ZoneInfo\tzdata\northamerica.
-
Change the offset value from -7:00 to -10:00 and save the file.
For example:
#Zone NAME STDOFF RULES FORMAT [UNTIL]
Zone EST -5:00 - EST
Zone MST -10:00 - MST
Zone HST -10:00 - HST
-
-
Open a Windows Command Prompt.
-
Change the working directory to the %DataDir%\Shared\sdk\3rdParty\ZoneInfo\tzdata\ folder.
-
Execute the zic.exe command to generate the updated time zone databases:
<full path>\zic.exe -d ..\DB northamerica
The output of the compilation is a set of binary data files, which are saved to the %DataDir%\Shared\sdk\3rdParty\ZoneInfo\DB\ folder.
Note: Only the binary data files for northamerica files are updated.
-
Follow the instructions in Deploy the Olson time zone database to deploy the Olson time zone database to all servers.