[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 6

zdump Command

Purpose

Dumps the time zone information.

Syntax

zdump [ -v ] [ -c CutOffYear ] TimeZoneName ...

Description

The zdump command prints the current time for each zone name specified on the command line.

Flags

-c CutOffYear Stops the verbose output near the start of the year CutOffYear.
-v For each TimeZoneName listed on the command line, the following information is printed:
  • The current time.
  • The time at the lowest possible time value.
  • The time one day after the lowest possible time value.
  • The times both one second before, and exactly at each time, when the rules change for computing local time.
  • The time at the highest possible time value
  • The time at one day less than the highest possible time value.
Each line ends with isdst=1 if the given time is Daylight Saving Time, or isdst=0 otherwise.

Parameters

TimeZoneName Represents the name of the zone whose time zone information is displayed.

Exit Status

0
The command completed successfully.
>0
An error occurred.

Examples

  1. To report time zone information for Singapore , enter:
    zdump -v Singapore
  2. To report verbose time zone information for Turkey with verbose output stopping near the start of the year 2035, enter:
    zdump -v -c 2035 Turkey

Files

/usr/sbin/zdump Contains the SystemV zdump command.
/usr/share/lib/zoneinfo Contains the standard time zone directory.

Related Information

The zic command.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]