zdump Command

Purpose

Dumps the time zone information.

Syntax

zdump [ -v ] [ -c [loyear,]hiyear ] TimeZoneName ...

Description

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

Flags

Item Description
-c [loyear,]hiyear Stops the verbose output near the start of the year with the loyear attribute. The range can be specified using the loyear and hiyear attributes.
-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

Item Description
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

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