1b2014df8Sopenharmony_ci# Time Zone
2b2014df8Sopenharmony_ci
3b2014df8Sopenharmony_ci## Introduction
4b2014df8Sopenharmony_ci
5b2014df8Sopenharmony_ciThe time zone module provides the functions of updating, parsing, compiling, and deploying time zone data.
6b2014df8Sopenharmony_ci
7b2014df8Sopenharmony_ci## Directory Structure
8b2014df8Sopenharmony_ci
9b2014df8Sopenharmony_ciThe directory structure of the time zone module is as follows:
10b2014df8Sopenharmony_ci
11b2014df8Sopenharmony_ci```
12b2014df8Sopenharmony_ci/base/global/
13b2014df8Sopenharmony_ci├── timezone           # Code repository of the time zone module
14b2014df8Sopenharmony_ci│   ├── data          # Time zone compilation data
15b2014df8Sopenharmony_ci│   ├── tool          # Time zone management tool
16b2014df8Sopenharmony_ci│   │   ├── compile_tool              # Time zone compilation tool
17b2014df8Sopenharmony_ci│   │   └── update_tool          # Time zone update tool
18b2014df8Sopenharmony_ci```
19b2014df8Sopenharmony_ci
20b2014df8Sopenharmony_ci## Description
21b2014df8Sopenharmony_ci
22b2014df8Sopenharmony_ciThe time zone update tool searches for the latest version of time zone data from the [Internet Assigned Numbers Authority (IANA) database](https://data.iana.org/time-zones/releases/). If a new version of time zone data is available, the time zone update tool downloads the data to update the local time zone data. The updated time zone data is saved in the **./data/iana/** directory. The following is an example:
23b2014df8Sopenharmony_ci
24b2014df8Sopenharmony_ci```
25b2014df8Sopenharmony_cicd tool/update_tool // Go to the directory where the time zone update tool is located.
26b2014df8Sopenharmony_cipython3 download_iana.py  // Run the data update script.
27b2014df8Sopenharmony_ci```
28b2014df8Sopenharmony_ci
29b2014df8Sopenharmony_ciThe time zone compilation tool compiles the time zone source data and generates time zone binary data in **./data/prebuild/posix**. The following is an example:
30b2014df8Sopenharmony_ci
31b2014df8Sopenharmony_ci```
32b2014df8Sopenharmony_cicd tool/compile_tool // Go to the directory where the time zone compilation tool is located.
33b2014df8Sopenharmony_cichmod 755 compile.sh
34b2014df8Sopenharmony_ci./compile.sh // Run the compilation script.
35b2014df8Sopenharmony_ci```
36b2014df8Sopenharmony_ci
37b2014df8Sopenharmony_ci## Repositories Involved
38b2014df8Sopenharmony_ci
39b2014df8Sopenharmony_ci[Globalization Subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/globalization.md)
40b2014df8Sopenharmony_ci
41b2014df8Sopenharmony_ci**global\_timezone**
42b2014df8Sopenharmony_ci
43b2014df8Sopenharmony_ci[global\_i18n\_standard](https://gitee.com/openharmony/global_i18n_standard/blob/master/README.md)
44b2014df8Sopenharmony_ci
45b2014df8Sopenharmony_ci[global\_resmgr\_standard](https://gitee.com/openharmony/global_resmgr_standard/blob/master/README.md)
46