1# Time Zone 2 3## Introduction 4 5The time zone module provides the functions of updating, parsing, compiling, and deploying time zone data. 6 7## Directory Structure 8 9The directory structure of the time zone module is as follows: 10 11``` 12/base/global/ 13├── timezone # Code repository of the time zone module 14│ ├── data # Time zone compilation data 15│ ├── tool # Time zone management tool 16│ │ ├── compile_tool # Time zone compilation tool 17│ │ └── update_tool # Time zone update tool 18``` 19 20## Description 21 22The 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: 23 24``` 25cd tool/update_tool // Go to the directory where the time zone update tool is located. 26python3 download_iana.py // Run the data update script. 27``` 28 29The 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: 30 31``` 32cd tool/compile_tool // Go to the directory where the time zone compilation tool is located. 33chmod 755 compile.sh 34./compile.sh // Run the compilation script. 35``` 36 37## Repositories Involved 38 39[Globalization Subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/globalization.md) 40 41**global\_timezone** 42 43[global\_i18n\_standard](https://gitee.com/openharmony/global_i18n_standard/blob/master/README.md) 44 45[global\_resmgr\_standard](https://gitee.com/openharmony/global_resmgr_standard/blob/master/README.md) 46