---
name: "gentz"
section: "8"
platform: "linux"
package: "icu"
version: "2.1-2.1"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/gentz"
---

# gentz(8)

compile timezone information

## NAME

**gentz** - compile timezone information

## SYNOPSIS

**gentz** \[ **-h, -?, --help** \] \[ **-c, --copyright** \] \[ **-d, --destdir** *destination* \] *timezone*

## DESCRIPTION

**gentz** reads a *timezone* file and compile it into a binary form. The resulting file, **tz.dat**, can then be read directly by ICU, or used by [**pkgdata**(8)](/pkgdata/8.md) for incorporation into a larger archive or library.

The file read by **gentz** is described in the **FILES** section.

## OPTIONS

- **-h, -?, --help**

  Print help about usage and exit.

- **-c, --copyright**

  Include a copyright notice into the binary data.

- **-d, --destdir** *destination*

  Set the destination directory to *destination*. The default destination directory is specified by the environment variable **ICU\_DATA**.

## ENVIRONMENT

- **ICU\_DATA**

  Specifies the directory containing ICU data. Defaults to **/usr/lib/icu/2.1/**. Some tools in ICU depend on the presence of the trailing slash. It is thus important to make sure that it is present if **ICU\_DATA** is set.

## FILES

The following file is read by **gentz**.

- **timezone.txt**

  Contains UNIX timezone data in a format that can be understood by **gentz**.

## VERSION

2\.1

## COPYRIGHT

Copyright (C) 2000-2002 IBM, Inc. and others.

## SEE ALSO

[**pkgdata**(8)](/pkgdata/8.md)
